Devlog #5: Crouch, Combat Prep, and Stability


I haven't posted in awhile, but have been making incremental progress. I renamed to Pixel Odyssey. Here are some things I have been working on:

Beginning the combat loop

I started a few tasks to help prepare for the combat loop:

  • Added the attack key bind and propagated the command all the way to the game server
  • Added mob health bars for visual feedback
  • Added player facing direction and a small UI piece to show the player direction

Crouch and drop down movement

The player will now have some more movement freedom and will be able to drop down from certain tiles.

  • Added the crouch key bind and propagated the command all the way to the server
  • Allow the drop down movement with crouch + jump if on a tile that allows for it
  • Render the player (still a square) as crouching

Performance

  • All player commands are now going straight to the game server rather than to Redis on every tick. This would have been a huge performance bottleneck

Bug fixes

No one likes bugs, so I am trying to keep a good balance to adding features and fixing issues.

  • A few collision bugs were discovered and fixed
  • Fixed the initial game syncing for a smoother experience

Looking ahead

Next up will be getting the combat loop built out, which should be an exciting step!

As always, follow, like, or comment. I will cherish all support and motivation as I continue forward!

Leave a comment

Log in with itch.io to leave a comment.