Im working on a game for school and I am wondering how I can have more than one script per game? Also, how to make you loose the if my timer hits x ammount of time?
Offline
Just start another one with <when green flag clicked> or when a key is pressed. To get a timer, Make a variable called time left, and put in a script to say that when you start, it is set to a certain amount, like this[blocks]<when green flag clicked><set{ time left }to( 60[/blocks]
Then put in a timer that repeats itself, which waits 1 second then changes the amount of the variable by -1. Then have a script on your stage like this:
WHEN GREEN FLAG CLICKED
FOREVER
IF (TIME LEFT) <(LESS THAN) 1
Now put whatever happens when you lose.
Hope it helps{:>)
Last edited by djm111 (2008-11-22 03:02:58)
Offline