Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
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..?
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.
Develop games in your browser. Powerful, performant & highly capable.
i think i solved it!!! just moved the add 1 to x to the begining of each action..
and — you are right.. thanks