How come when I'm making my games I have to double click the green flag? First it resets almost all the variables, and the second time it resets the boss varaible and hides the boss. Is this a glitch? Can it be fixed?
Offline
Offline
Usually, it means that you should have a Wait inserted somewhere. What happens a lot of times is the Green Flag is clicked and a lot of variables go to zero and a lot of processes get fired off. Sometimes the processes fire first, before the variables have had a chance to zero out completely. If you pay close attention to what processes depend of initial variable conditions and make sure they wait a fraction of a second before starting (to give the variables time to get set), you can usually cure the double click problem.
Offline
My click the color game works that way, it is just a bug in the scratch program
Offline
what happens to me is that the variable is zero when you end the game, which is what the game is like when the green flag is clicked. But then my "If variable=0 broadcast end" broadcasts before the variable is not zero.
Offline
I always put the varaible reset first though... and right now it's working. I put in a little intro and it seems completely fine?
Offline