Inventory behaviour

hi this question is in reference to the inventory course.
I am trying to create my own inventory but I am finding it impossible.

I want my inventory to be able to contain X items and to be able to move around the panel, regardless of whether it is grouped or not.

I do not know where to start. What classes do I have to make and which ones can I reuse?

I have been unable to advance for several days.
I’d appreciate a little help

I think the solution is to create invisible slots that can be moved as long as they are in the inventory, but I cannot find how to move the slots if they are inside the X panel

I think I see what you’re trying to do, and it’s going to take a lot of experimentation.
It’s definitely a lot easier to leave them in organized slots…

I’d say you’re probably going to have to create a class with 10 “slots” that also include an X/Y position of the icons… but I’m not even sure that’s going to work entirely because the slots will be overlapping and I suspect it’s only going to want to grab the top layer no matter where you click in the inventory. You might head to our Discord for some Wisdom of the Crowd on this one. I’m afraid I may not be much help here.

This topic was automatically closed after 24 hours. New replies are no longer allowed.

Privacy & Terms