kava-i / bebarengan-sepur

1 stars 0 forks source link

Death #4

Closed georgbuechner closed 4 years ago

georgbuechner commented 4 years ago

There is currently no pissibility to die :D Even after a lost fight, you walk around with say -10hp.

georgbuechner commented 4 years ago

play() functions now checks if player is dead, and calls reloadPlayer(player) function. Player is set back to beginning of tutorial (this should be changed to beginning of Tutorial, AKT I, II, III or IV) to "kill" player return "gameover" to throw_event of player. (sets hp to 0, so play function knows that the player is dead)