Inventory Test
An example of a simple Inventory system written as part of a technical test.
This inventory loads 5 random items in random slots in the inventory
Controls (Keyboard)
WSAD/Direction arrows - Move cursor
Enter - Pickup/Drop item. If the slot that the item is being dropped in already contains an item, then the positions of the two items are swapped.
Esc - [With no item selected] - Refresh the inventory.
Esc - [With item selected] - Deletes the item.
Controls (Controller)
D-pad/Left thumbstick - Move cursor
"A" Button - Pickup/Drop item. If the slot that the item is being dropped in already contains an item, then the positions of the two items are swapped.
"Y" Button - [With no item selected] - Refresh the inventory.
"Y" Button - [With item selected] - Deletes the item.
Leave a comment
Log in with itch.io to leave a comment.