The Green Warden – Report 4

GreenWarden MainMenu3

Since last week’s post the group has decided on a simplified menu that will only feature a button for starting the game and one for exiting and thus we are trashing the whole options and loading part due to time restraint. The picture above is merely a simplified programmer-art version of how the new simplified menu would look like as we currently do not have any updated art from our artists on the new menu appearance. The black background should for example be switched with a colorful one that is representative of the theme and the buttons will be replaced with better looking versions.

 

Programming wise I have been stuck with the error bellow:

GreenWarden MainMenu1

 

The problem being that it apparently means that I have left out the Exit and Update functions, however, even after adding them the problem remains which has become really frustrating, bellow is a picture of the code in the CPP file.

GreenWarden MainMenu2

m_start will check if the player has pressed the Start button in which case the game will move to the next state, that is, the game state.
m_exit will check if the player has pressed the Exit button in which case it will close the game.

At Monday the programmers in our group will meet with our teachers to discuss how we can simplify the game further and then any issues we’ve faced can also be brought up.

My main priority is still to make the Main Menu State the first state and then to do so that pressing either of the buttons will yield the correct result. We have about one week left to beta and the main menu needs to at least exist in a very basic shape until then since the main menu is the core state of the game as that is the first thing that comes up and the thing that the player always returns to. Without it the game will still run, but it won’t be nearly as nice and will be more of a run once and then crash which may be very frustrating as the game wouldn’t be able to just stay open due to there always happening things in the game state. The only form of pause where one can just start the game and then leave it open and wait for someone wanting to play is the main menu.

Needless to say, the main menu is really important to the game and is not really something that one can just postpone until a later date. Showing it for the first time at the beta is really pushing it.

In my opinion tho, it may be best to start with a very basic main menu and then maybe just cutting it off when one is working on the game state so one doesn’t have to use the menu every time to test something in the game. Tho it seems to me like that would be a minor bother and it may be easier to work on a game chronologically than to have to rework things because one started in the middle.

Filed under: Game Development – introduction – 5SD033 Tagged: 5SD033

About Marcus van Aller

2015 Graphics