i got the inventory system working, i just want to know,
for example, if a monster drops loot, and you pick it up, those items should be send to your inventory, how do i do that?
Develop games in your browser. Powerful, performant & highly capable.
Not sure, but I think you could use an array to store all of the items.
this array is confusing me so much...
how do i give my item an ID#
and if i click on item i want it to send to the inventory.
It's impossible to answer your question because there is a thousand different ways to make an inventory. You should read/watch a few tutorials and choose one that suits your game. If you still have questions after that, please post your project file.
I have watch this guy tutorial
construct.net/en/tutorials/easy-inventory-using-array-356/page-2
and my inventory system is working perfect :)