Or this:
<when green flag clicked>
<wait( 0.2 )secsc>
<wait until>
<touching[ EndOfGameSprite ]>
<stop all>
The wait 0.2 is really just to wait until the game is initialized, it may or may not be necessary
Offline
MoreGamesNow wrote:
Or this:
<when green flag clicked>
<wait( 0.2 )secsc>
<wait until>
<touching[ EndOfGameSprite ]>
<stop all>
The wait 0.2 is really just to wait until the game is initialized, it may or may not be necessary[/blocks]
You could replace that with "wait until not touching EndOfGameSprite" to get the desired effect in the least amount of time.
Last edited by Kileymeister (2011-03-21 21:21:12)
Offline
Yeah, I would say Kiley's is more effective because of no forever loops and not using "wait .2 sec"
But people who don't plan on having 100 sprites and 1000 scripts in a game should be able to use several forever loops in their projects without slowing it.
Offline