So I have the player set to mouse.x and mouse.y, and when he touches the walls, 1 life should be lost and the game should restart.
What is happening, is that the game is subtracting all 5 lifes at once. I've tried to set up a variable, destroy the player sprite, the "trigger once when true" event, set up a function, so the game doesn't count more than once the collision. I think the game is counting a collsion per tick, therefore all the lifes are being lost.
https://dl.dropboxusercontent.com/u/200 ... issue.capx
(lvl1 layout, lvlsheet, line 11)