View Single Post
Old
zero00
Senior Member
 
zero00's Avatar
 
Status: Offline
Posts: 300
Join Date: Oct 2009
Default 04-11-2011, 04:21 PM

Quote:
Originally Posted by chaoslemon View Post
Edit: I should mention the camera moves 30 meters up when you win, or 30 meters down when you lose. I think I'm just going to say "click the reset button to try again" without having to reset values via function and dummies. I haven't gotten the win or lose screens made yet but I will as soon as I get the camera to move as SOON as either value is 0.
Oh, I see now. What about a event that says....

//While player isnt dead

while (playerHealth > 0){
enemy attack Sequence
}

//This part assumes the player has died
world Restart?

The restart method sends everything back to their original positions and starts the game again.

after that, when the player dies,
   
Reply With Quote