Currently the game now has a Main Menu, Stats and 3 Mini Games.
This is how the current code works in the game:
The game opens up to a blank page where a DontDestroyOnLoad() object is created. The it has a script that keeps track of all the information as the game runs. When this object is loaded, the game loads the following scene, the main menu.
On the main menu, start and stats can be dragged left, right and zoom into focus when in the center.
The stats screen looks at the DontDestroyOnLoad() object with keeps track of games played, failed etc.
The mini game loader randomly chooses a game that has not already been played on the current difficulty. when a game has been completed, it loads the game loader again and the process is repeated. If 3 games have been completed, the difficulty is increased and played games can be replayed. when a game has been chosen, it shows an instruction screen before loading up the game. However, i am thinking of creating a new scene to deal with instructions. i could do it in the same scene, but i might be easier to keep track of whats going on.
When the player fails at a game, they are taken back to the main menu and all the games and the difficulty is reset.
The first mini games is a matching game. the player has to put the 'creates' into the 'truck' depending on what it is asking for. the second level of the game makes the creates a single colour and adds a colour checker. when the colour checker is clicked it shows the creates colour briefly. The third level shows the creates colour at the start but then hides them, there is no colour checker, so the player must remember where they were.
The second mini game is a simple apple catching game. the player must catch the apples and not the acorns. As the difficulty increases, the apples and acorns fall faster, more acorns spawn and less apples spawn.
The third mini game has the player avoiding the beams that come onto the stage. As the difficulty increases, the beams respawn faster and come onto the screen at a greater speed.
My next steps are to make to game look a little 'nicer'. i am going to replace the block colour with some art. i will also edit the feed back during the games, win / fail information rather than just a screen switch.
