I've been continuing work with improving the test art and making the path from creating an asset to viewing it in game as quick and automatic as possible. ![head.png](https://files.steempeak.com/file/steempeak/smjn/E1zKDsdq-head.png) Previously any code changes, style changes or level changes would trigger an update and the game would show the change. I demoed this in the past making code changes in the below video, it works the same if changing style or doing updates in the level editor. <iframe width="858" height="483" src="https://www.youtube.com/embed/5YXkCYNd46A" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> <br/> I have now added support for the same type of work flow for doing changes to art and animations. By adding a watcher to the project setup, it now watches external files for changes, automatically runs external software to produce assets and the game is triggered to update and show the asset. I decided to use [npm-watch](https://www.npmjs.com/package/npm-watch) for watching, it is configured in the package.json file and worked on the first try. The documentation was short and to the point, that is why I picked it out of the many, many options to use for watching files. Here is a demo of working in [Inkscape](https://inkscape.org/), When exporting the pieces, [TexturePacker](https://www.codeandweb.com/texturepacker) will run in the background and take all the assets and assemble them into a single texture atlas. When the new atlas is created, the game notices this and updates. The key to get this to work smoothly is to use smart folders in TexturePacker. Any changes made to files you have added (or add) in those folders will be watched by TexturePacker and added/updated to an atlas when detecting changes. This can be automated by using the command line version of TexturePacker in combination with npm-watch. <iframe width="560" height="315" src="https://www.youtube.com/embed/rMAKnPChdgk" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> <br/> The process for working with animations in [Synfig](https://www.synfig.org/) is the same. As soon as you render an animation, TexturePacker packs the frames into a single texture atlas and the game updates. <iframe width="560" height="315" src="https://www.youtube.com/embed/SXZlb3f7elc" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> <br/> This work flow feels good for being productive. You can stay in the asset app and continue working, no need to switch back and forth between an editor/game/asset app. If anyone is curious to try the project, I put up development builds quite often to: [dev.spelmakare.se](http://dev.spelmakare.se/expanse/?debugMenu) <br> ___ <i>Game development using web technologies. [Spelmakare.se](https://spelmakare.se) [Discord](https://discord.gg/VG5EW9R) [GitHub](https://github.com/smjnab) [Try the latest development build of current project](http://dev.spelmakare.se/expanse/?debugMenu) </i>
post_id | 82,675,713 | ||||||
---|---|---|---|---|---|---|---|
author | smjn | ||||||
permlink | inspiring-work-flow | ||||||
category | gamedev | ||||||
json_metadata | {"app":"steempeak\/2.2.6","format":"markdown","tags":["gamedev","javascript","phaser3","development","smjnblog"],"links":["https:\/\/www.npmjs.com\/package\/npm-watch","https:\/\/inkscape.org\/","https:\/\/www.codeandweb.com\/texturepacker","https:\/\/www.synfig.org\/","http:\/\/dev.spelmakare.se\/expanse\/?debugMenu","https:\/\/spelmakare.se","https:\/\/discord.gg\/VG5EW9R","https:\/\/github.com\/smjnab","http:\/\/dev.spelmakare.se\/expanse\/?debugMenu"],"image":["https:\/\/files.steempeak.com\/file\/steempeak\/smjn\/E1zKDsdq-head.png"]} | ||||||
created | 2019-12-19 10:09:00 | ||||||
last_update | 2019-12-19 10:09:00 | ||||||
depth | 0 | ||||||
children | 3 | ||||||
net_rshares | 1,086,694,006,166 | ||||||
last_payout | 2019-12-26 10:09:00 | ||||||
cashout_time | 1969-12-31 23:59:59 | ||||||
total_payout_value | 0.097 SBD | ||||||
curator_payout_value | 0.101 SBD | ||||||
pending_payout_value | 0.000 SBD | ||||||
promoted | 0.000 SBD | ||||||
body_length | 3,154 | ||||||
author_reputation | 1,314,888,384,444 | ||||||
root_title | "Inspiring work flow" | ||||||
beneficiaries |
| ||||||
max_accepted_payout | 1,000,000.000 SBD | ||||||
percent_steem_dollars | 0 | ||||||
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
deadsun | 0 | 0 | 100% | ||
azfix | 0 | 0 | 100% | ||
techken | 0 | 390,686,308 | 10% | ||
spiritabsolute | 0 | 17,334,005,684 | 100% | ||
kevmcc | 0 | 11,991,716,062 | 20% | ||
bala41288 | 0 | 175,954,551,659 | 100% | ||
socialmediaseo | 0 | 6,684,804,715 | 18.75% | ||
mproxima | 0 | 3,112,935,969 | 100% | ||
kkndworld | 0 | 15,791,269,453 | 100% | ||
sbi3 | 0 | 630,126,976,139 | 14.94% | ||
atanas007 | 0 | 9,600,577,297 | 100% | ||
camillesteemer | 0 | -115,861,475 | -10% | ||
steempeak | 0 | 168,442,240,282 | 25% | ||
skylinebuds | 0 | 2,592,443,319 | 100% | ||
steemitbuilder | 0 | 44,787,660,754 | 37.5% |
Congratulations @smjn! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) : <table><tr><td><img src="https://steemitimages.com/60x70/http://steemitboard.com/@smjn/votes.png?202001280011"></td><td>You distributed more than 10000 upvotes. Your next target is to reach 11000 upvotes.</td></tr> </table> <sub>_You can view [your badges on your Steem Board](https://steemitboard.com/@smjn) and compare to others on the [Steem Ranking](https://steemitboard.com/ranking/index.php?name=smjn)_</sub> <sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub> > You can upvote this notification to help all Steem users. Learn how [here](https://steemit.com/steemitboard/@steemitboard/http-i-cubeupload-com-7ciqeo-png)!
post_id | 83,834,149 |
---|---|
author | steemitboard |
permlink | steemitboard-notify-smjn-20200128t005202000z |
category | gamedev |
json_metadata | {"image":["https:\/\/steemitboard.com\/img\/notify.png"]} |
created | 2020-01-28 00:52:03 |
last_update | 2020-01-28 00:52:03 |
depth | 1 |
children | 0 |
net_rshares | 0 |
last_payout | 2020-02-04 00:52:03 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 817 |
author_reputation | 38,705,954,145,809 |
root_title | "Inspiring work flow" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
Congratulations @smjn! You received a personal award! <table><tr><td>https://steemitimages.com/70x70/http://steemitboard.com/@smjn/community.png</td><td>Thank you for the witness votes you made to support your Steem community and for keeping the Steem blockchain decentralized</td></tr></table> <sub>_You can view [your badges on your Steem Board](https://steemitboard.com/@smjn) and compare to others on the [Steem Ranking](https://steemitboard.com/ranking/index.php?name=smjn)_</sub> **Do not miss the last post from @steemitboard:** <table><tr><td><a href="https://steemit.com/steemitboard/@steemitboard/use-your-witness-votes-and-get-the-community-badge"><img src="https://steemitimages.com/64x128/https://cdn.steemitimages.com/DQmTugCUsoXX762vg1CuHRrpnPbfnjPogp8iCGv7F2kSVuj/image.png"></a></td><td><a href="https://steemit.com/steemitboard/@steemitboard/use-your-witness-votes-and-get-the-community-badge">Use your witness votes and get the Community Badge</a></td></tr></table> > You can upvote this notification to help all Steem users. Learn how [here](https://steemit.com/steemitboard/@steemitboard/http-i-cubeupload-com-7ciqeo-png)!
post_id | 84,971,639 |
---|---|
author | steemitboard |
permlink | steemitboard-notify-smjn-20200306t030618000z |
category | gamedev |
json_metadata | {"image":["https:\/\/steemitboard.com\/img\/notify.png"]} |
created | 2020-03-06 03:06:18 |
last_update | 2020-03-06 03:06:18 |
depth | 1 |
children | 0 |
net_rshares | 0 |
last_payout | 2020-03-13 03:06:18 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 1,148 |
author_reputation | 38,705,954,145,809 |
root_title | "Inspiring work flow" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
<!-- test -->
post_id | 84,980,462 |
---|---|
author | smjn |
permlink | re-smjn-q6rojz |
category | gamedev |
json_metadata | {"tags":["gamedev"],"app":"steempeak\/2020.03.1"} |
created | 2020-03-06 10:16:51 |
last_update | 2020-03-06 10:16:51 |
depth | 1 |
children | 0 |
net_rshares | 0 |
last_payout | 2020-03-13 10:16:51 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 13 |
author_reputation | 1,314,888,384,444 |
root_title | "Inspiring work flow" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |