2025-05-04 Menus and Score
Added menus and a score for killing thax
published: Sun 04 May 2025This week was all about prepping for multiplayer. I allowed the thax to die finally, added a main menu, moved the player-config settings into the config menu, and reworked the hitbox-disabling logic to work better with multiplayer.
The most immediately-obvious change is that you now start on a title screen with a bunch of buttons for starting the game or changing settings. The host/join game buttons don't do anything yet, but the solo game button launches the play area as normal. The options and licenses buttons open their respective submenus. The Esc key both opens this title screen again when in-game, as well as closes it, or backs out of submenus.
When the thax dies now, it gives a "score" item to any players which hit it. The total score of each player is displayed above its head. I also fixed the animation so it spins in the correct direction when facing left. More importantly, the weird bug where you couldn't hit the bug if you were overlapping it has now been fixed. Go to town on that thax!
There were a large number of invisible changes to fix minor logic errors or refactor into a more-maintainable state. Hopefully, this will put me into a better position to implement multiplayer next week.