How do I create a life counter with save game

Get help using Construct 2

Post » Thu Jul 30, 2015 4:52 pm

Hey folks. How it's going on?

Well, let me tell you my problem. I'm doing a platform game. On start of each layout, I create a event that save the actual game on a save called 'game1'. When the player dies, I load that save game so that player can start again the level.
I have a global variable called 'Life', and I substract '1' when the player dies, but when the game load again, the variable turn back its initial value (3 lifes).

What do I need to do for my game substract 1 life when player die and don't reset the variable when I load de save game?

Thank you for your help!
B
6
S
1
Posts: 11
Reputation: 448

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 21 guests