The reason I chose this video is because my game will feature a multitude of hazards within each level. From enemies to fall hazards there are a few different ways to cause a game over screen. Due to that there's kind of a necessity for a game over screen, otherwise you couldn't really die, unless the game just repositioned you at the start of the level, but using a game over screen is just smoother.
In the video ol' Jimmy boy talks us through making the health bar, we essentially just make a red bar and use script to make it smaller every time you get hit by an enemy. When it becomes non-existentally small the game will produce the game over screen ad the player will be forced to go back to the start of the level.
(Example of a game over screen)
Source
No comments:
Post a Comment