V
Vlintex
Guest
Hi! my games is split in chapters (rooms linked together that you can explore). all the rooms are persistent and chapters starts with a room that read ''chapter x'' for 3 sec and then the chapter start.
here's what I can't do: i would like that when you lose, you restart the chapter. but since the rooms are persistents, when you restart the chapter, the ennemies you killed are still deads and the player is still dead too. I would like the game to do this when you die:
game_restart()
room_goto(the chapter you where in)
I don't know how to do it and I would really appreciate some help, thanks a lot!
here's what I can't do: i would like that when you lose, you restart the chapter. but since the rooms are persistents, when you restart the chapter, the ennemies you killed are still deads and the player is still dead too. I would like the game to do this when you die:
game_restart()
room_goto(the chapter you where in)
I don't know how to do it and I would really appreciate some help, thanks a lot!