# Simple(ish) inventory code

**URL:** https://forum.makecode.com/t/simple-ish-inventory-code/8593
**Category:** Show & Tell
**Tags:** game
**Created:** [June 8, 2021, 12:05am UTC](https://forum.makecode.com/t/simple-ish-inventory-code/8593 "2021-06-08T00:05:50Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)
#### Post date: [June 8, 2021, 12:05am UTC](https://forum.makecode.com/t/simple-ish-inventory-code/8593/1 "2021-06-08T00:05:51Z")

</div>

Here’s a simple(ish) inventory system I made in Arcade:

> **[Simple(ish) Inventory](https://arcade.makecode.com/09605-23391-38503-35396)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

Controls while inventory is closed:

- Use A to “use.” (actually just pops the selected item from the toolbar)
- Use B to cycle through slots.

Controls while inventory is open:

- Use arrow keys to select items.
- Use A to transfer the selected item between the toolbar or the inventory.
- Use B to move the cursor between the toolbar and inventory.

Would definitely appreciate user feedback on how “natural” the controls are and what I can improve/simplify cause there is a _lot_ of variables and checks that look really really ugly. This also only works with 16x16 images - you would have to change a lot of numbers (sorry not sorry) and change some of the images.

---

<div class="post-metadata">

### Author: ![LaserFoxPro](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/laserfoxpro/32/4105_2.png) [@LaserFoxPro](https://forum.makecode.com/u/LaserFoxPro)
#### Post date: [June 8, 2021, 10:10pm UTC](https://forum.makecode.com/t/simple-ish-inventory-code/8593/2 "2021-06-08T22:10:18Z")

</div>

nice infebetoria sistem

inventory\*

---

<div class="post-metadata">

### Author: ![LaserFoxPro](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/laserfoxpro/32/4105_2.png) [@LaserFoxPro](https://forum.makecode.com/u/LaserFoxPro)
#### Post date: [June 28, 2021, 9:51pm UTC](https://forum.makecode.com/t/simple-ish-inventory-code/8593/3 "2021-06-28T21:51:34Z")

</div>

> [@LaserFoxPro](#):
>
> infebetoria

lol i am the worst spelling l o l
