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 want to check for a value in my array on a certain axis, I.E positions (1,0) (1,1), (1,2)... for my inventory. As I want to check for item ID's but the second line of the array (the one that defines the amount of an item in the inventory) is interfering
Develop games in your browser. Powerful, performant & highly capable.
ID is on X ? Amount is on Y ?
Store as
(action) Set at XY .. x = id .. y = 1
Retrieve as
(expression) Array.At(id,1)
Compare as
(condition) Compare at XY .. X = id .. Y = 1