Day 5 - Pretend this is day 1


24 hours passed in a flash! Because I decided writing the dev log at the end of the day is better than a day late.

I actually implemented some important basics. First I implemented a turn queue (meaning each Entity's action can cause a different length of time until the next turn). With ever-unchecked optimism I declared "the turn queue took me longer than expected, but bump-to-attack is going to be like 3 lines of code; it's basically already implemented!"

Later in the day... well, sure, it indeed took about three lines to call Entity.attack(defender), but what about all the rest of it? After the turn queue I was basically connecting a whole lot of existing code together with plumbing, and fixing the problems and unimplemented bits that exposed. Which is quite satisfying; progress is fast.

But taking stock it only added up to:

  1. attack by moving into Entities marked hostile
  2. bump into other MapObjects to interact
  3. the attacks actually prints messages and does a fixed amount of damage
  4. MapObjects can be destroyed, Entities take damage and die
  5. bugfixes

I think I only got done about 30% of what I'd hoped to.

But there are two days left, and as you know you can create a whole game in 48 hours!

Leave a comment

Log in with itch.io to leave a comment.