I want to make an inventory system in the style of RotMG. I want it to be the same, but be able to have an adjustable amount of inventory spaces.
Realm of the Mad God: realmofthemadgod.com
Develop games in your browser. Powerful, performant & highly capable.
There are several inventory posts in the FAQ stickied in this forum, as well as a lot of people asking for more specific advice if you search for it..
how-do-i-frequently-asked-questions_t63692
search.php?keywords=inventory&fid%5B0%5D=147
There are also quite a few inventory tutorials in the tutorial section.
https://www.scirra.com/tutorials/search?q=inventory
Most inventory systems are based on an array. There are many ways to display what is in the array or to change the size of the array.