the week flew by as if accelerated by loads of Gravity. This DevBlog I want to show you how I made some more progress on the menu for GreyHole both visually and in terms of value manipulation. I am not yet done but the player can now start a new game, quit and -for now only visually- switch up controls, audio and video settings.
With the last blog post I told you about some of the planning involved for the menu. I expanded on that again and have finally arrived at a point where I can actually show how it looks in action now. But let’s do it chronologically:
I actually started out with a really sloppy draft inside the snipping tool. Just to get the idea about what I want to show and where. After I was done with the planning and setting up the data structure grid, I started to order things on the screen. And again I want to mention that I used Friendly Cosmonaut’s tutorial as a super handy guideline on structures and efficient programming.
On the left hand side I placed the highscore list just as I had thought about before. It is a little dominant but I think it will contribute to the player feeling the need to crack the highscores they or somebody else set up. I also reserved some space for the title art. I did not get around to produce some half way quality image so instead I just filled the space with a box and a placeholder title.
For the actual usable menu itself I set up the area below the title and divided it by a line into two regions. The region on the left for the options the player can select and the right one for the actual values to be manipulated. I am content with most of the basic visuals for now. Just the On-Off toggles are a bit too unclear in their appearance when selected. I think I’ll switch up the colors a bit and also the way the values are toggled. Right now you need to select the to be toggled option with one of the use inputs and then shift the value with direction inputs. That’s a bit too much for a simple toggle I think. Switching should be possible with a simple one time input.
As I also support gamepads for GreyHole, I also needed to come up with a way to use the analog stick to navigate through the menu. But since the values you can read out in GML are constant and can’t be checked with a […]_check_pressed() function, I ended up using a boolean variable that was reset only when the stick is centered again. That way the cursor does not constantly race through the menus and does not shift values in rapid succession.
That’s it for today,
GreyHole - #DevBlog -