Docs

SquishGames

Install and make Squish yours, the puzzle game in RealityKit. Version 1.1.0.

A merge puzzle with coloured gels on a light table: slide a drop into its twin and they melt into one bigger drop. This guide takes you from download to a running game under your own name. It covers version 1.1.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, Squish/.

Make it yours

cd Squish
scripts/setup.sh --name YourGame --bundle-id com.you.yourgame

The script renames the target, scheme and bundle ids, rewrites the StoreKit product ids and runs tuist generate. To keep the name Squish 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: 30 levels
  • Game Center: 2 leaderboards, 18 achievements
  • Shop: Sugar jars, Undo and booster packs, No Ads
  • Built on: GameCore, Feel, GameServices, GameUI
  • Presets: soda, mochi, stationery
  • Swift: 6,868 lines in 67 files

Rebrand options

OptionWhat it sets
--nameTarget, scheme and product name
--bundle-idBundle id. Modules, the widget, the App Group (group.<bundle-id>) and tests derive theirs from it
--display-nameThe name under the icon
--teamYour team id. Required for devices, Game Center, iCloud and the widget's App Group
--product-prefixApp 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 (two 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 the default skin, set SkinID.standard in Modules/SquishKit/Sources/Meta/SkinID.swift. To add a skin, add a case to SkinID and a Skin in Modules/GameDesign/Sources/Theme/Skin.swift; every screen and the tray read from it.

Structure

App/                  @main, the root stage (RealityKit tray + phase layer), deep links
Features/Home         The title in the current skin: Play, the daily tray, trays, shop, settings
Features/Trays        The daily card and three chapters of ten trays with their stars
Features/Play         The HUD (score, pushes left, goals, undo and hint), pause and out-of-pushes panels
Features/Results      The cheer, score, stars, three stats, sugar, next or again, the reminders ask
Features/Shop         Sugar jars, undo and booster packs, No Ads (StoreKit 2), kit for sugar
Features/Settings     The skin switcher, sound, haptics, flavour marks, reminders, accessibility, credits
Modules/GameCore      Seeded RNG, value noise, daily seed, saves, event ring, synth (no game types)
Modules/SquishKit     The rules: board, pushes, melts, goals, the solver, trays, the daily tray,
                      the round, scoring, profile, economy, achievements, skin ids
Modules/SquishStage   RealityKit: the ARView, baked gel, table, frame, cube and jam textures,
                      slide/squash/melt/bottle animation, the camera, touches and swipes
Modules/GameDesign    The three light tables (tokens, type, panels, world looks) and the component kit
Modules/Feel          Sound bank, audio engine (fizz bed, menu loop), haptic patterns
Modules/GameServices  Game Center, StoreKit 2, iCloud sync, reminders
Modules/Session       GameSession (phases, HUD, input, hints, results, settings)
Widget/               The Daily Tray widget. Shared/ holds what it shares with the app
Design/StyleSpec.md   The art direction for the game and each skin. Design/icon/ renders the app icon
Tests/                Swift Testing for the board, solver, every tray, the daily, rounds and the
                      profile; XCUITest for launch, menus, skins and pause

How it runs

  • The rules are plain Swift values. Board.slide(from:_:) says what a push would do; SquishRound applies it, scores it, tracks goals, pushes left, undo history and stars, and emits RoundEvents. GameSession turns each event into the stage's motion, a sound on a pentatonic that climbs with the melt streak, a haptic and a score popup.
  • Solver is a breadth-first search over packed board states. It set every tray's par and the daily bank's, and gives hints during play, off the main actor.
  • The daily tray comes from the UTC day: a seeded pick from 63 solver-checked layouts, turned or mirrored and recoloured with the day's flavours. Every player gets the same tray, instantly.
  • The stage is mounted once and looks straight down. Each gel is a quad with a texture baked from its colour (light through a dome, a refraction rim, a lens ring, a softbox glint and the colour it throws); the table, frame, cubes and jam come from the skin's WorldLook, so switching skins restyles the tray in place.

Tuning, scoring and how the trays were made are in BALANCE.md.

Licenses

Space Grotesk and IBM Plex Mono 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.1.0

2026-11-26

  • A new look: Lightbox. The tray is seen from straight above as coloured gels on a ruled light table. Light passes up through each drop, deeper where it's thicker, with a lens ring and a softbox glint, and throws its colour on the table around it.
  • The drops, table, frame, cubes and jam are baked textures on unlit quads, so the tray looks the same on every device and in the simulator.
  • Three light tables replace the skins: Lightbox (warm white, the default), Night table (gels glowing on a dark table) and Film (cyan, magenta and violet on cool blue-white). Saved skins carry over.
  • Type is Space Grotesk and IBM Plex Mono. The score is set huge, pushes left are a row of bars, and every control is an ink slab or a hairline outline.
  • A new app icon.

1.0.0

2026-11-24

  • First release: translucent gumdrops on a glazed tray, in RealityKit, with SwiftUI screens over it.
  • Push a drop and it slides until something stops it. Push it into its twin and they melt into one bigger drop; two of the biggest melt into a bottle and leave the tray.
  • 30 hand-tuned trays in three chapters (First fizz, Sugar cubes, Jam jar), each with a goal, a handful of pushes and a par checked by the solver.
  • A daily tray that is the same for everyone, with a streak, a leaderboard and a Home Screen widget.
  • Three built-in skins, each a whole style system with its own type, panels, badges, motif, copy, motion and tray materials: Soda (default), Mochi and Stationery. Switch live in Settings.
  • Undos, hints from the solver and boosters; sugar to earn; a StoreKit 2 shop with No Ads.
  • Melt streaks multiply points and climb a pentatonic scale.
  • Game Center leaderboards and eighteen achievements, iCloud save sync, Game Mode, flavour marks, Reduce Motion and Increase Contrast.
  • Every sound synthesised on the device.