Hi,community me again.
In my game, the player can influence the size of platforms.There is no death, but ther are a multiple checkpoints system in the level. If the player goes outside of the layout, the player is respawned to the last activated checkpoint (on collision).
Then the level is restarted, all the platforms are resetted to their original value.
<img src="https://dl.dropbox.com/u/26046730/Restart_checkpoint%20not%20working.png" border="0" />
<img src="https://dl.dropbox.com/u/26046730/002.png" border="0" />
- When the level is restarted, the player isn't respawned to last checkpoint because when restarted, this is the always the 1st checkpoint which is considered.
WHAT I NEED
- Restart the level when the player is outside layout but keep intact the last checkpoint.
- For now, I'm using a global "currCheckPoint" set to 1 at start of layout
So, how to do that?