hi,
i need help with my game over screen i am making a ping pong game and as soon as the ball's lives go (or finish) i want the game over screen to show!
can anyone help me i would grateful
thank you
jason15300
Offline
Here's how you do it:
The Game Over Screen's Script:
when gf clicked hide set [lives v] to (3) //this is probably already on the ball, I just put it here anyway forever if <(lives) = (0)> show stop all end endHope this helps!
Last edited by powerpoint56 (2012-07-03 14:26:19)
Offline
powerpoint56 wrote:
Here's how you do it:
The Game Over Screen's Script:when gf clicked hide set [lives v] to (3) //this is probably already on the ball, I just put it here anyway forever if <(lives) = (0)> show stop all end endHope this helps!
This will work, if it is not a fast paced game where the variables change quickly. If it is that type, replace
<(lives) = (0)>with
<(lives) < (1)>
Offline
If the game over screen is a background then use this:
when gf clicked set lives v to (3) change background to [game screen v] forever if <<lives>=(0)> change backgorund to [game over v] end
Offline