Learn › GBC Intermediate

Lesson 3 of 6 · About 6 min

Items and an inventory

How Critter Quest keeps its items as plain numbers, why its log is a bit mask, and how the chance to catch a creature is worked out.

An inventory is numbers

Critter Quest is a second kind of game on the same console: walk a meadow, wild creatures leap out of the tall grass, weaken them and throw a capsule to add them to your log. Catch all three kinds to win.

Its inventory is just numbers in memory. caps is how many capsules you hold, 6 at the start, and the healer in the meadow tops it back up. The HUD row shows it beside your buddy's health.

GBC Intermediate is a course for paid accounts. The rest of this lesson, and its guided session, are in the app.

Start makingDownload on the App StoreGet it on Google Play