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'm not sure it's necessary to report a flaw.
I just noticed if we change height and depth 1 to 0, the array won't work.
We should to prevent to change 1 to 0.
It's by design and was added around r90 or so. Before that a size of zero was not allowed.
I say keep it as is. An array with a width of zero is invaluable when using arrays as a dynamic list, stack or queue. Not to mention that it would be a regression that would break existing capx files.
It used to force you to set at least 1, but then another bug was quite rightly reported that it's impossible to make an array that starts off as empty. In that case you want to set one of the properties to 0. So I think it should stay the way it is for now.
Ah i understand, thank you guys!
Develop games in your browser. Powerful, performant & highly capable.
Actually, can you explain if i set width 4, height 5, depth 3.
The set value of depth won't work.
Then i change depth 3 to 4
the set value of depth worked... it's confusing me :S