I'm currently tasked with the creation of a simple Christmas themed horizontal shooter game as means of marketing a few online stores.
The player will have to collect a number of parcels and avoid nasty gremlins as well as trees.
Every 8 parcels players will receive a new voucher which is only shown to them if they either lose or win the game.
The game logic works great so far and I made sure that parcels are randomly generated. There's also a Christmas star that, when catched, will award a single extra life. Here's the thing though: How do present the player with a custom game-over screen?
Let's say the gremlins caught him at 8 parcels. He should, obviously, get to another game-over screen than those who made it to 16 parcels.
Is there any way to define this?
Like: if player collides with gremlin = destroy player
if playerscore 8 = go to layout GameOver1
if playerscore 16 = go to layout GameOver2