Scratchy Adventure: Creating Games on iPad Without Coding
hyperPad

Scratchy Adventure: Creating Games on iPad Without Coding

June 19, 2025
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.

  1. Open a drawing app such as Procreate and draw your hero on a transparent background.
  2. Draw a key, a door and one obstacle in the same style.
  3. Export each piece as a PNG.
  4. 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:

  1. confirm the key has not already been collected
  2. set hasKey to 1
  3. hide or remove the key
  4. play short feedback
  5. 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.

StateExit responsePlayer feedback
hasKey = 0Stay lockedShow "Find the key first" and a short locked sound
hasKey = 1Open or load the completion statePlay 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.

hyperPad Starter

Make Your First Game on iPad

Start with one free project in hyperPad Starter. Drag, drop, and connect Behaviors to build your game without traditional code.

Try hyperPad Starter

Free to download · One project included