Scalable Inventory System

0 favourites
  • 5 posts
From the Asset Store
Inventory Aid
$4.90 USD
Create grid-based game inventories and items easily.
  • capx drive.google.com/drive/folders/1cw3bsx6RoG_aLlbB3UdL4eolcvACkovl

    I'm making an RPG and am currently hung up on making the inventory system.

    I'm trying build the system off a tiled background as containers will vary in shape and size, and I want the accessible inventory space to reflect that. The display aspect is working fine, it is the actual inventory system that is giving me trouble.

    The first problem is that when adding new items to the inventory, I don't know how to make the system aware of which slots are available, so all the icons just pile up in the first slot.

    The second problem is that when moving inventory items around I don't know how to get them to snap to inventory tiles. I know there is a way to grid snap, but I don't know how to make it relative to the inventory slots especially since the inventory windows are meant to be moved around freely.

  • Maybe you should read some totorials regarding arrays. You will find there all Informations you need.

    When you plan only a few objcts:

    scirra.com/tutorials/872/inventory-without-function-array

    When you plan a lot of objects:

    scirra.com/tutorials/614/array-based-inventory

  • Maybe you should read some totorials regarding arrays. You will find there all Informations you need.

    When you plan only a few objcts:

    https://www.scirra.com/tutorials/872/inventory-without-function-array

    When you plan a lot of objects:

    https://www.scirra.com/tutorials/614/array-based-inventory

    Oh, yeah I've tried following tutorials for this but I really struggle with arrays. The second one you linked is one of three tutorials I've tried to work with. Eventually I bought an inventory system capx off the scirra store, but it also uses arrays and because I don't understand what is happening I'm having a really hard time converting it for my game.

  • This is an old project of mine and dont use arrays:

    scirra.com/tutorials/9587/rpg-inventory-with-item-categories-and-auto-sorting

    I am currently working on an improved version but for the beginning, the linked capx and c3p should be enough to get you started.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • This is an old project of mine and dont use arrays:

    https://www.scirra.com/tutorials/9587/rpg-inventory-with-item-categories-and-auto-sorting

    I am currently working on an improved version but for the beginning, the linked capx and c3p should be enough to get you started.

    Ah, yeah this solution might be just what I'm looking for thanks!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)