A downloadable library

Download NowName your own price

Sometimes you just need a nice, easy-to-use inventory system which lets you categorize, stack, and otherwise organize items for your GameMaker game. Here you go!

The inventory is purely struct-and-method based, meaning it all lives inside a single script file and no cleanup is required (provided that the garbage collector is enabled). Look inside the demo project or see the online Github wiki for documentation.

This requires GameMaker Studio 2.3.1 in order to work. It relies heavily on the new language features.

Price 

As usual, the asset is free as-is. I'll fix simple or game-breaking bugs but more involved support requires payment via either Itch or Patreon.  I get the final say in what constitutes "game-breaking," although it's less than 200 lines of code so I doubt there's going to be anything interesting.

Notes

  • The system is generic; you can add whatever you want (except undefined) as an item. For the sake of your own sanity, I strongly recommend using another struct of some sort to represent items.
  • Yes, MagpieInventory::PocketContentsByAlphabetical is supposed to do that. Read the message.

Credits

  • The magpie icon is a compilation of Magpie by Philipp Lehmann from the Noun Project, Potion by Monjin Friends from the Noun Project, Stones by Alena Artemova from the Noun Project, and Stick by Cédric Villain from the Noun Project

Download

Download NowName your own price

Click download now to get access to the following files:

magpie.yymps 3 kB
magpie.yyz 7 kB

Comments

Log in with itch.io to leave a comment.

(+1)

This is awesome! Thanks!