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 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