Posted May 25, 2025 by woofleboofle
Stage 1: Creating a main menu
I made a mistake here and mentioned it in the previous devlog, but I'll go into a bit more detail for this week's devlog.
Firstly I made a main menu system. This comprised of two parts: The main menu and then the options menu.
The UI setup is quite basic here, with a Canvas, Panel and Buttons. The buttons change colour when selected and on click.
One of the more challenging aspects was making the menu functional for both Gamepad and Mouse. This required a script to detect when the mouse or gamepad was being used and then adjust the on screen behaviour accordingly.
As the game now has a tutorial section, as well as levels, it made sense to have an option for players to be able to skip the tutorial if desired, and go straight to level select.
Stage 2: Creating an options menu.
The next step was making some options for the game. Currently this is setup as a separate scene, but I plan to make it an overlay so that the transition is a bit smoother (especially when background music is playing).
In the options menu itself, I haven't yet implemented the actual features. I plan to put in sliders to control the music and sound levels, as well as an option for touch controls for mobile (I dabbled with mobile controls early on the game development, but didn't quite get it working, so I've left it out for now).