This is a glitch I've seen with online projects.
The project only works if you press the flag twice.
Can anyone fix it?
How is it caused?
Offline
Usually it's because there's a script like this in the project:
[blocks]<when green flag clicked>
<forever if> <something>
<stop all>
<end>[/blocks]
To fix that insert a "wait 0.1 secs" block in between "when green flag clicked" and "forever if".
Last edited by mathematics (2011-02-10 06:07:53)
Offline
Offline
Closing
EDIT: Heh looks like I missed the boat on this one. Topic was already closed when I got here
Last edited by demosthenes (2011-02-10 07:45:46)
Offline
Closed by request of the topic owner.
To expand just a bit on what mathematics pointed out above...it's caused by not giving the project time to initialize variables and conditions before they are tested. The cure is to put a short wait ahead of any block that tests on a variable or condition to give them time to be properly initialized. And, of course, to make sure that they have a block somewhere that does the initialization
Offline