GameOver Menu by Pshaf001
Peril » Devlog
For the game over menu, I made a new canvas and added a Textmesh pro button to it as well as a textmesh pro text. The button said Exit & the text said GameOver. Once I had the game over screen next I had to code it to only appear when it is spotted by the enemy. I did this with the help of Ahmed as he did the majority of the coding for the enemy detection.
With these two sets of code, we manage to make it display the game over screen. I also added the Timescale to ensure the player can not keep playing the game even after being spotted.
Peril
Steal the gold don't get caught!
More posts
- Pause Menu By Pshaf001May 09, 2021
- Setting's By Pshaf001May 09, 2021
- Gantt Chart - mhuss023May 09, 2021
- Main Menu by Pshaf001May 09, 2021
- Collectable By Pshaf001May 09, 2021
- Research By Pshaf001Apr 22, 2021
- Planning By Pshaf001Apr 22, 2021
Leave a comment
Log in with itch.io to leave a comment.