Here's an example on how to make an effective inventory system.It's fully commented and supports different inventory sizes and stackable items! This example allows you to store an unlimited amount of variables to each spot so the possibilities are limitless. Saving, loading, changing inventory sizes, and two different selection modes are available.
Here's a link to a compiled example: https://www.dropbox.com/s/ii5w1d3imb5nmxz/Inventory%20Example.exe?dl=0
*Added a way to set the max amount of items that can stack in one spot
*Added an indicator for when the inventory is full
*More bug fixes
Further into the Future
*More transparent variable names
*Extra commenting to help explain more in depth on whats happening in the code
*Minigame to better show how to use
Version 1.1.2. Published October 20, 2014
Created with GameMaker: Studio v1.4.1451
This asset hasn't received enough reviews yet.
You can only review assets you've bought.
X and Y
How to change x and y coordinates of inventory slots? sry for bad english