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
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
Hello guys! I made an inventory X and all works well, but nowadays I am working in a XY inventory but these dosnt works well because when i collision with the object for pick up, the frame of the slot don't change to the frame of the item. (srry about my english)
There some photos:
Array on sheet:
You are checking the Position against the data. a) the position is two numbers, not one: X,Y
b) with an X & Y already, you don't have to search the array, just index it directly: Inventory_Array.At(Inv_Slot.PositionX, Inv_Slot.PositionY) = 0 ...
Develop games in your browser. Powerful, performant & highly capable.
Thanks you BlackHornet but I already changed my inventory type to one more simply and easy to do. So Thanks youu Black I ll have present it!!!