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
Develop games in your browser. Powerful, performant & highly capable.
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
eil0s ... it dosent happend anything... its the same if its enabled or disabled..
@troublesum.. it never has a 0 in the array... but i made another condition checking for 0.... and still the same..
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 blackhornet.. you are right.. thanks