Over the past few days, I have been working on the mobile game. I have added game win and over screen, back buttons for all levels and started to implement some levels.
Game win
The game win screen appears when the player completes a level. To complete a level the player must complete all the levels tasks.
Below is the game win screen that is currently in the game. It lets the player pick a new level to play or takes them back to the main menu. This menu is going to change in the future as sounds, particle effects and design will be added or changed.

The implementation for this is simple. Below is the code of the Game win. If the number of goals completed is bigger or equal to the level goals length, then the player wins the game.

Game over
The game over menu appears when the player loses the game. To lose the game the player must run out of moves before they complete all the levels tasks.
Below is the game over menu. It lets the player either return to the main menu or chose a level to play. This menu is going to change in the future as sounds, particle effects and design will be added or changed.

The implementation of the game over is simple. Below is the code for the game over. If the number of turns is equal to 0. The game over is set to true and the game over menu is loaded.

Implementing some levels and back button
I have also added two levels to the game and added back buttons to all the levels.
Below are the current level 2 and level 3 for the game. They both have different boards and have different tasks needed to complete the level. They also have different number of moves.
Level 2

Level 3

Pressing the back button will take the player back to the level select menu.
What is next?
My next goal is to keep on adding levels to the game. I want to update the levels for the GDD and then add the levels to the game.
Comments