Day 6 I added ranged combat which included refactoring a bit of the game turn flow so that actions didn’t have to have immediate results (so that I could add the ranged attack animations). It was easier than expected due to JavaScript’s async/await combo.


Also added healing items, again with some refactoring over the JSRL code to move item usage execution into the player class and out of the ItemCategories. This allowed at least having a gameplay flow of losing and recovering hit points, with the associated inventory management (i.e. a game)

Finally, I added some support for audio, so that QuietGecko could start adding some of his magic.
One thought on “Rainy Day – Day 6”