Enemies / Interaction / Puzzles


Enemies / Interaction / Puzzles

In this 3rd state of development, Dino’s enemies have been added to the games to make the game more joy to play as well as challenge player’s skills. This is being done by adding different size cactus (from small to big cactus that require better jumping skills from the player), also the flying birds, the birds fly with unpredictable speed that the player must pay well attention to if they do not want the game over.

Dino's enemies are added to the game

Dino's enemies are added to the game

Dino’s enemies have been added by creating prefabs from existed sprites, together with the obstacle script to randomly generate Dino’s enemies based on difficulty level that the player selected or depend on the player’s playing duration (the more the player plays the game, the more the Dino runs faster), then all those enemies have been added to Unity empty object to create realistic Dino’s enemies. The game will be over if the player cannot control Dino to get over obstacles, in that case, the game over mechanism will be triggered by a script called GameManager. In this script, the game frame will be frozen to stop the player continue to play the game, together with a ‘Game Over’ pop-up to notify the player that the game in ended, with option to replay the game, finally their score is also updated and can be saved if wanted.

 Game Over Popup appears with Replay button

Game Over Popup appears with Replay button

According to the feedbacks from peer review, there are some issues with the game such as: the Dino is too close to the left of the screen which makes it hard for first time player, for improvement, a pause will be added for 2 seconds before the game start so the player can have time to get ready, at the same time, the Dino position will be aligned a bit more to the right of the screen (this is good if the player has small screen devices).

For the next state of development, music background and music affects will be added together with scoring system to create more realistic game play.  

Leave a comment

Log in with itch.io to leave a comment.