Rainy Day – Day 6

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.

Planned Refactor
What I actually did 😛

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.

Published by slash

Game Developer

One thought on “Rainy Day – Day 6

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create your website with WordPress.com
Get started
%d bloggers like this: