Scratchy Adventure: Creating Games on iPad Without Coding
Scratchy Adventure is a one-room adventure game you can build on iPad without coding. The hero is a scratchy, hand-drawn character you sketch yourself. The goal is simple: find the key, then open the exit. That small loop teaches you exploration, game state, conditions, feedback and Scene changes in hyperPad, using visual Behaviors instead of typed code.
This guide walks through the whole build, from drawing the hero to testing the finished room.
Draw your Scratchy hero
Start with art you can make in a few minutes. A rough, sketchy style works well here because it hides imperfect lines and looks deliberate.
- Open a drawing app such as Procreate and draw your hero on a transparent background.
- Draw a key, a door and one obstacle in the same style.
- Export each piece as a PNG.
- In hyperPad, import the files through the Asset Library.
Keep each Graphic small and readable. You can always redraw it later once the game works.
Define the room
Create one Scene with:
- a player Object (your Scratchy hero)
- a key
- a locked exit
- one obstacle
- an instruction label
- a hidden success message
- a restart control
Write the rule:
The exit opens only after the player collects the key. The key counts once, and restart restores the room.
Store the game state
Add a hasKey Attribute to a controller or player Object. Start it at 0.
When the player collides with the key:
- confirm the key has not already been collected
- set
hasKeyto 1 - hide or remove the key
- play short feedback
- update the instruction label
The Object Attributes guide explains stored values. Use Collision Event for the contact and the Behavior Interface Overview to inspect the flow.
Check the exit condition
When the player reaches the exit, use an If Behavior to read hasKey.
| State | Exit response | Player feedback |
|---|---|---|
hasKey = 0 | Stay locked | Show "Find the key first" and a short locked sound |
hasKey = 1 | Open or load the completion state | Play the open animation and show success |
Keep the locked and open responses on separate condition paths. That makes the rule easier to inspect and debug.
Add movement and one obstacle
Choose one input method, such as a joystick or tap-to-move, and make it reliable before adding another. The obstacle should support the room's goal. Pick one of these:
- a moving platform between the player and key
- a hazard that returns the player to the room entrance
- a pushable block that clears the route
Test the key and exit loop again after connecting it.
Test the adventure loop
Run the room in several orders:
- reach the exit before collecting the key
- collect the key once
- touch the old key position again
- return to the exit after collecting the key
- restart before completion
- restart after completion
A passing reset restores the player, key, exit, instructions, success message and hasKey value.
Share it and get feedback
When the room works, Publish your Project to the hyperPad Hub. hyperPad Starter, the free version, can Publish, so other creators can play your game and leave comments. Publishing to the Hub is for creators aged 13 and up, and creators aged 13 to 17 need a parent's permission.
Watch at least one person play without explaining the room. If they understand the objective, add a second room or a new state such as a switch. If they get stuck, improve the visual hints and feedback first.
Build room two
Once Scratchy can find the key and escape, duplicate the Scene and change one thing: move the key behind the obstacle, or add a second key. For a full beginner walkthrough of the editor, follow How to Use hyperPad: Build Your First iPad Game. For a closer look at how events, actions and Attributes fit together, read what visual coding in hyperPad looks like. If this is your very first game, the checklist in the #1 thing beginner game developers search for keeps your scope to one playable mechanic.
