answer :
when flag clicked
forever
if (score = 50 )
broadcast "insert text here"
----------
other sprite :
when i receive ""
switch to next backround
Offline
Give any sprite or the stage this script and it should work.
[blocks]
<when green flag clicked>
<forever>
<if><( <{ Score }> <>> 49 )>
<set{ score }to( 0
<wait( .5 )secsc>
<change{ level }by( 1
<end>
[/blocks]
The level would probably work best using a variable depending on the sort of game you're making, and the wait .5 seconds is because without it, sometimes 1 or 2 levels may be skipped - Hope this helps
.
Last edited by 06dknibbs (2010-10-18 15:56:34)
Offline