Update: Version 2.1 available. A new action type has been added in this version known as 'object'. This action allows you to use the inventory without having the player click or knowing the slot number of the object you need. It simply searches the entire inventory for the needed object.
Several errors in the action descriptions have been fixed. Draw slot added. Draw overlay sprite added. Major changes to several actions' source code. Arguments rearranged to make them more uniform. Help file redone to be a .chd format.
Update: Version 2.0 available. Almost the all the actions have been redone and compresses. The library is now much easier to use and includes the missing action. Consequently, it is not backward compatible with version 1.x. Please read the included documentation for other changes.
Update: Version 1.1 available. Many new functions have been added, including the ability to put multiple objects in one slot, check what is in a slot, control the inventory via the keyboard and more. Tested on GM6, included demonstration GM6.
Type: .lib, .chd (help file) and .gm6-zipped
File Size: 51.8 KB
Version: 2.1
Actions:
Create inventory
Move inventory
Empty inventory
Add object
Drop object
Use object
If a slot has an object
Add other object
Set inventory sprite
Hide or show inventory
If inventory is visible
Draw the inventory
Draw multiple
Draw a selection sprite
Draw specific slot
Draw a sprite overlay
Please PM me with any bugs, suggestions or if you need help.
Download
Enjoy,
Tahnok100
Edit: Updated to version 1.1.
Edit: Updated to version 2.0.
Edit: Updated to version 2.1
Edited by tahnok100, 01 July 2006 - 09:30 AM.











