HopperGames
Install and make Hopper yours, the arcade game in RealityKit. Version 1.0.0.
A one-thumb tower hopper: coil a wooden spring toy, let go, and land it on the middle of the next painted block. This guide takes you from download to a running game under your own name. It covers version 1.0.0. See the screens on its game page.
Requirements
- Xcode 26 and an iOS 17.0 or later deployment target
- Tuist 4 (
brew install tuist) - An Apple Developer team for devices, Game Center, iCloud and the widget. The simulator runs without one.
Install
Download
Included with Games. Not signed in? The button takes you to sign in or create an account, then starts the download when you're back. Unzip the archive; it contains one folder, Hopper/.
Make it yours
cd Hopper
scripts/setup.sh --name YourGame --bundle-id com.you.yourgameThe script renames the target, scheme and bundle ids, rewrites the StoreKit product ids and runs tuist generate. To keep the name Hopper for now, run tuist generate instead.
Run it
Open YourGame.xcworkspace, choose an iPhone simulator and run the YourGame scheme. The scheme uses Configuration/Products.storekit, so the shop works before App Store Connect is set up.
What's in the project
- Content: Endless, with a tuned curve
- Game Center: 3 leaderboards, 18 achievements
- Shop: Spare spring packs, Toy Box (all eight toys), No Ads
- Built on:
GameCore,Feel,GameServices,GameDesign - Presets:
rubberstamp,tin,cardboard - Swift: 6,024 lines in 61 files
Rebrand options
| Option | What it sets |
|---|---|
--name | Target, scheme and product name |
--bundle-id | Bundle id. Modules, the widget, the App Group (group.<bundle-id>) and tests derive theirs from it |
--display-name | The name under the icon |
--team | Your team id. Required for devices, Game Center, iCloud and the widget's App Group |
--product-prefix | App Store Connect product ids. Defaults to the bundle id |
The values live in Tuist/ProjectDescriptionHelpers/AppConfig.swift. Game Center ids are listed in
Configuration/GameCenter.json (three leaderboards, eighteen achievements); create them under your
app in App Store Connect. Products are in Configuration/Products.storekit, which the scheme uses
for local purchases.
To change a skin, edit its SkinColors and WorldLook in Modules/HopperKit/Sources/Look/Skin.swift
and its type, copy and panel style in Modules/GameDesign/Sources/Theme/HopperTheme.swift. To add a
fourth, add a case to SkinID; the compiler walks you through every place that needs it.
Structure
App/ @main, the root stage (wall backdrop + RealityKit tower + phase layer), deep links
Features/Home The title (laid out per skin), today's tower, the toys, Play
Features/Play The HUD (height, best, streak), the hold hint, pause and the fallen panel
Features/Results The results card, perfects, tickets, new toys, the reminders ask
Features/Toys The eight toys, how each unlocks, the Toy Box
Features/Shop Spare springs, the Toy Box and No Ads (StoreKit 2)
Features/Settings The skin switcher, sound, haptics, aim guide, reminders, accessibility, restore
Modules/GameCore Seeded RNG, value noise, daily seed, saves, event ring, synth (no game types)
Modules/HopperKit The rules: the hop's arc, the judge, the tower generator, the run, toys,
profile, achievements, skins (colours and world looks), mesh and texture builders
Modules/HopperStage RealityKit: the ARView, block and toy entities, the coil and hop playback,
the topple, the aim guide, the camera that climbs with the toy, snapshots
Modules/GameDesign HopperTheme (per skin), panels (stamp, tin, cardboard), buttons, tiles, motifs
Modules/Feel Sound bank, audio engine, music box, haptic patterns
Modules/GameServices Game Center, StoreKit 2, iCloud sync, reminders
Modules/Session GameSession (phases, HUD, input, results)
Widget/ The Daily Tower widget. Shared/ holds what it shares with the app
Design/StyleSpec.md The art direction: tone, the three skins, type, motion, sound
Tests/ Swift Testing for the hop, the tower, runs, meta and skins; XCUITest for menusHow it runs
- A hop is a parabola, not a physics step. When the finger lifts,
HopJudgeplans the whole hop from the coil (launch speed, angle, gravity), finds where the foot meets the next block or a block's side, and decides the outcome there and then: perfect, clean, teeter, short, long or bumped.HopperStageonly plays the plan back, so the same hold always gives the same hop, on every device and at every frame rate. TowerGeneratorbuilds each landing from the seed and checks it before it's used: the perfect hop needs a coil between 14% and 90%, it must clear every block on the way, a hop a little short of perfect must still stand, and it must be reachable from either edge of the block below. A tower that fails those checks is never shown.- The run emits events; the session turns each into its feedback (a tine that climbs a pentatonic with the streak, knocks, the ratchet of the coil, haptics, toasts).
- The stage is mounted once. Pausing cancels the coil and freezes playback; it never tears down.
- The look is a theme: change a skin's colours or world look and the wall, the blocks, the table and every screen follow.
Tuning and how the tower's fairness is checked are documented in BALANCE.md.
Licenses
Rubik Dirt, Courier Prime, Bowlby One SC, Rubik, Allerta Stencil and Oswald are under the SIL Open
Font License 1.1 (Licenses/). Everything else in the project is yours to ship with your game. See
ASSET_MANIFEST.md.
Changelog
1.0.0
2026-11-24
- First release: a wooden spring toy hops up an endless tower of painted toy blocks, in RealityKit with SwiftUI screens over it.
- Hold to coil, let go to hop. Every hop is planned the moment you let go, so the same hold always gives the same hop.
- Land in the middle for a perfect and build a ×N streak; land near the edge and the toy teeters; misjudge it and it topples.
- An endless tower built from a seed that zig-zags higher and harder, with a wide rest plank every ten landings. Every landing is checked for fairness before you see it.
- A daily tower that is the same for everyone, with a streak and a Home Screen widget.
- Three skins, each a whole look: Rubber Stamp (inked red, pink and orange), Tin (a lithographed tin toy) and Cardboard (kraft board and stencils). Switch them in Settings.
- Eight toys to collect by height, perfect streaks and dailies, from Pip to the Golden Pip.
- Spare springs for a second try, tickets to earn, and a StoreKit 2 shop (springs, the Toy Box, No Ads).
- Game Center leaderboards and achievements, iCloud save sync, Reduce Motion and Game Mode.
- Every sound synthesised on the device: the coil's ratchet, wooden knocks, a music box on the title.