GameMaker Studio 2
Icon

Super flexible inventory

Limekys

You must be logged in to obtain assets

Contact Publisher | Support

Description

Super flexible inventory system!

This is flexible inventory system. You can create many inventories with one function! Drag and drop windows and items. You can setting up it like you want: change colors of invetory or set background and slot sprites, and also has the support of nine slice sprite. I use this inventory system in my game "Sandoria", you can check it on this site

Download DEMO 1

Download DEMO 2

Documentation

Features:

  • Easy to setup.
  • Easy to use functions.
  • Many settings.
  • Drag and drop windows.
  • Very fast. Surfaces are used and updated only if it is really needed.
  • Full commented and organized code.

Apocalypse style inventory example:

//CREATE EVENT
inventory = InvCreate(6,3);
InvSetName(inventory, "Apocalypse style");
InvSetBackSprite(inventory, sStalkerInvBack);
InvSetMainSlotSprite(inventory, sStalkerInvSlot);
InvSetCursorSprite(inventory, sStalkerCursor);
InvSetIndentOfCell(inventory, 10);
InvSetBordersSize(inventory, 10, 10, 63, 10, 10);
InvSetPosition(inventory, room_width div 2 - inventory.inv_surf_w div 2, inventory.invPosY - 16);
InvToggleAnim(inventory, true);
//Add random Items
for (var i = 0; i < inventory.inv_slots; ++i) {
    var _item = ITEM.knife + irandom(ITEM.item_number-ITEM.knife-1);
    InvSetSlotItem(inventory, i, _item, 1 + irandom(GetProp(_item, ALL_PROPS.maxstack)-1));
}

//PRESS "E" BUTTON
InvToggleAnim(inventory);

If you have some problems or suggestions or found a bug, please contact with me!

Discord: Limekys #7583 VK: https://vk.com/limekys TW: https://twitter.com/Limekys

End User Licence Agreement (EULA).

Age Rating: 4+

Version

GMS2 - Version 1.0.3. Published May 26, 2020

Fixed "InvDropAll" script. This script did not work correctly. Just delete "InvDropAll" script and import the new one.

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait

Back to Top