So I started making arrays and generally how they work, But I cant wrap my head around making a complex inventory system with it. For example: How do you "add" items together by dragging over them?
Develop games in your browser. Powerful, performant & highly capable.
Hey MomaFugger,
By 'add items together' you mean stacking?
I personally never use arrays for inventories. You can just do it this way (not completely checked for bugs):
c3p: https://1drv.ms/u/s!Ap_-qxoGKbDceT8PkGeTDqQ8jaw
After the items are in the inventory, you can still count them out and transfer them to an array or dictionary if needed.
Do you mean like if you had the item like Small Paper Squares and another item called Glue, if you put one on the other you would get Post-It Notes ?
I mean stacking like if I had 5 rocks in one slot and 5 rocks in another slot, and put them together. Also I dont have c3:( so I cant see your example.
Also I dont have c3:( so I cant see your example.
That's not true if you are using Firefox or Chrome. Go to the C3 page and open the file.
https://www.construct.net/de/make-games/free-trial
Another option is the desktop version of C3(beta):
construct-3-desktop-build-beta-currently-win64-only_t199344
All free to use