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 player with 10 inventory slot variables, like "Items1", "Items2", "Items3".... "Items10".
How i can made event, that adds new item (gives value to item variable) to ANY EMPTY item variable, when overlapping item.
Try using Array! it is exactly what you are looking for!
here are some examples
https://www.scirra.com/tutorials/614/ar ... -inventory
https://www.scirra.com/tutorials/583/ea ... g-an-array
https://www.scirra.com/tutorials/244/rp ... g-and-drop
https://www.scirra.com/tutorials/755/cr ... ith-arrays
Develop games in your browser. Powerful, performant & highly capable.
They seems to be useful. Thank you!