Above is an example of how the main menu would look like. Artist: Eva Sokolova
This week, work has progressed on creating a functioning menu. I was able to take away code that was not needed for the menu and predeclared a few classes to make it work.
The reason for the slow progress is that I have insufficient skill to productively execute the task, which is also why I was given the main menu to play with and learn. I have read an old book on C++ to assist a little bit, but it wasn’t sufficient enough due to bad explanations and mix of language so I ordered two new books. One C++ Direkt and another specifically for game programming which I hope will help me more quickly progress in the development of the menu.
I have made some of the ground code work to input and print an image, but I faced problems with changing states to the main menu so I could not actually see if I got the right result which is a bit inconvenient. The major point in my progress is however that the game does not crash anymore due to my code and thus I can easier progress from here with testing. It also tells me that I am going in the right direction as I now can run the game with my code and potentially load the images needed. My goal however will be to try and change state to the main menu so that I can see if the image load and then I will start to create clickable boxes that should in the case of the “Play” option take you into the game. I will then also after that do so that the “Exit” button closes the game.
I will of course at that time need the actual image that we will use in the release of The Green Warden so I can spend time matching the clickable area with the actual icons rather than preliminary icons that may completely change in the final product.
In my opinion then the “Load” and “Options” buttons may become redundant or generally unnecessary as the games should be short enough so the game session doesn’t need to be saved and in terms of “Options” it may be a waste of resources to spend time creating the ability to customize the game settings rather than spending that time working on the game itself as every hour we could spare will likely be needed for the game itself.
First of all I at least need to be able to load the menu state, the background of the menu is not especially relevant if I can’t do so that we load the state to begin with.
Filed under: Game Development – introduction – 5SD033 Tagged: 5SD033 
About Marcus van Aller
2015 Graphics
|