• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

inventory

  1. E

    RPG engine devlog

    Hello! This is the inventory system that i built in GMS2. It has multiple components and i will present them in separate clips: Inventory series - 01 Player's inventory Inventory series - 02 Storage boxes in the world Inventory series - 03 The merchant (buy/sell mechanic) (+multiple tabs...
  2. FoxyOfJungle

    GML Search Items In An Array (for inventory)

    GM Version: GMS 2+ Target Platform: ALL Download: N/A Links: N/A Language: GML Summary: Search for items in an array. I write a string, and it will find all items matching the search. Tutorial: Do you want to make an inventory or a list of some store/shop or a highscore list and want to...
  3. just makin games

    SOLVED Inventory system question

    FIRST OF ALL: THIS IS JUST A QUERY. I'm not asking for a programming fix or anything here. So if you're here to fix someones bug, this isn't the post for you. I don't expect this to be taken as a programming error that needs to be fixed or anything, just a bit of a question. I'm working on a...
  4. thrownaway9k

    RPG inventories and the best data structure (list, grid, map, etc)

    I've been trying to wrap my head around this reading online, but now I'm a bit overwhelmed. I'm trying to make a very simple 16 slot inventory you'd see in an RPG like Final Fantasy or Earthbound, but I have no idea where to start. I have a simple 2 by 8 DSgrid labeled as inventory to start. So...
  5. U

    SOLVED Subtract a specific word from a string

    Since I used enum item{} to make an inventory, the item names in the inventory are prefixed with "item.". I want to reap only this name. Because you have to create an objname for instance_create() so that the character will drop the item you used. I want to create "item_draw" this time, but the...
  6. U

    SOLVED Get/Do not get items

    Hello. I created an inventory that contains up to 4 items, referring to the blog here. Pressing the Enter key on an item removes it from the field and puts it in your inventory. Now, let's assume that four items are filled. This script finds a place where you can put an item and returns true if...
  7. U

    GML Objects corresponding to camera coordinates move slowly

    Good evening. I keep the location by making the inventory below track the position of the camera. However, when the character moves, it will move slightly because it will be slightly delayed. I filled in each of step, endstep, and beginstep, but it is still late. How can the inventory be...
  8. U

    SOLVED I want to make the enumerator correspond to the item sprite

    Hello. We are making an inventory. The image is a picture of the item used for inventory. I draw a picture every 64 pixels. I want to use draw_sprite(); according to the order of enumerators below. How can I make this sprite an enumerator? enum item{ none, draw_set, mirror, ball_w, ball_b...
  9. U

    How can I use an item?(resorved)

    When you get an item, add a picture of the item to dslist and put the item in your inventory. At the same time, add a variable that determines the usage of the item to another dslist. Clicking on an item to remove it from the dslist will remove the item's picture. At the same time, I decided to...
  10. U

    GML draw_GUI is not based on camera coordinates(Resorved!)

    Hello. I want to make a scope bar that displays the items that a character has below. Therefore, I would like to make a click decision within the range of the inventory frame. However, even if the click range is set in draw_GUI, it will be based on the room coordinates. what should I do? MOD...
  11. A

    GML Logic Help, the inventory is only going up once per item

    Hi all I am making a sandbox game with an inventory with 9 slots, when picking up an item it should look for an empty slot, or a slot where it has the same item. What it is doing is updating the inventory with the item, and unique items go into the next slot with nothing in it like it should...
  12. P

    Object IDs

    Hello, Basically I want to make a system in my game where when I press spacebar a cone in front of player appears and if some object is in front of the player and the cone touches it, it will be collected into inventory (and dissapears from the room). If I simplify what I mean by object lest say...
  13. X

    SOLVED Synchronizing equipped weapon animation with player animation

    Hello! After struggling, searching on google and YouTube all day I hope someone over here could help me out with this problem. I made an inventory system with a weapon slot (for a sidescroller RPG), once you put the weapon in the weapon slot if appears on the player. The weapon is an object...
  14. L

    Ds_Grid Help

    I don't know a whole lot about ds grids but found this awesome inventory system that uses ds grids, well to remove items from the inventory you run this script. [ //If there's only 1 item in the inventory if(ds_grid_height(playerInventory) == 1) { //Only 1 item in inventory...
  15. D

    GML Inventory System Design

    Hello everybody, I'm working on an inventory system for my game, and would like some ideas. I currently have an inventory for the player which is a ds_map, with 22 slots each also a ds_map. I plan on having several items, and am wondering what is the best way to approach it. The items are to be...
  16. V

    GameMaker [SOLVED] Problems with GUI - inventory

    I'm trying to make an inventory for my game by using GUI. Does anybody know how I can get a link from draw event as it may be with objects ( var a = instance_create(..) )? I want to change x and y coordinates of my picture without putting parameters into draw(...,x,y) just like that ...
  17. NotTayyy

    GameMaker Make an Menu/Inventory System (Like Earthbound and Undertale)

    Im trying to make a Inventory system that Is like Earthboud and Undertales, Where its controlled by the Keyboard and You can open multiple diff menus, and Items dont stack Etc... I Was wondering How I would go about this. edit: I Kinda know how to make the menu's for the Most part, Its the...
  18. D

    GML Inventory for a Drag and drop game. (Gamemaker 2 and GML)

    Had to make a game in gamemaker 2 for a school project. But our project needs some kind of Inventory that fits a Drag and drop game. Since im terrible at programming ive had some problems trying to figure out how to actually create a inventory system. Looking for help with finding some kind of...
  19. B

    Unique identifier for objects that get destroyed?

    I'm currently making a dungeon crawler and working on the inventory system. On my map, I have two trash cans in different locations, but both are technically using the same object. As the character walks through the dungeon, it will create an instance of a trash can object if detected on the map...
  20. Axl Trauts

    [SOLVED] loading equipment in hangar

    Hi all, I am trying to start with loading some equipment on my ship on a hangar. How should it work? Basically, the player has a ship divided in sections: Wing slot 1, wing slot 2, body, extra and special. The player starts buying those equipment from a shop and then load them on each slot...
Top