i have a problem whith this while loop
i think its making an infinite loop
but i cant see where..
thanks in advance.
sorry for my english
I am also confused about the While condition. But in your case, do you really need it? What happens if you disable it and leave only the x<= 6 condition..?
You don't have anything checking if numero is 0... It might be if that's what is in the array? If it is zero then you never increment x based on your loop conditions
— ... it dosent happend anything... its the same if its enabled or disabled..
— it never has a 0 in the array... but i made another condition checking for 0.... and still the same..
any ideas?
Develop games in your browser. Powerful, performant & highly capable.
Wait does not block, which is what you are expecting. Check the manual. You should use the Timer behaviour to sequence your events.
i think i solved it!!! just moved the add 1 to x to the begining of each action..
and — you are right.. thanks