Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
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..?
Develop games in your browser. Powerful, performant & highly capable.
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..
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