StarterVillage

Week 5

Inventory

Part of Into the Dungeon.

Carry your gear. By the end, the hero has a slot-based inventory that opens with a key press, and pickups land in the slots.

Being finalized. This course is being finalized and polished before it opens on Outschool in August 2026. The outline below is the plan for what your learner will build, and a few details may still change as we add the finishing touches.

What this class covers

An inventory display
Your learner builds a set of slots that hold what the hero picks up.
Opening and closing it
Pressing the I key opens and closes the inventory during play.
Items in slots
Picked-up items drop neatly into the slots, ready to use.

Bonus challenges

Optional, just-for-fun challenges to try on your own between classes. Never needed to keep up.

  1. Add a key item to a slot.
  2. Show a message when the inventory is full.
  3. Add a label that names the item under the cursor.