Games template

# Tilt Tomb Gravity Puzzle Game App template

以 Tilt Tomb Gravity Puzzle Game App 模板为起点：用 AI 按你的想法修改，构建 iOS 和 Android 应用，并发布到 App Store 和 Google Play。

- 2 screens
- iOS & Android

## Screens

- Lead Sable to the sun door
- Turn the whole room a quarter turn
- Rest on the threshold to escape
- Four stars: door, two scarabs, par
- Boulders, keys and the Sun King's Vault
- Forty rooms in four chambers

## What’s inside

- Every move turns the whole room a quarter turn, and everything loose falls the new way down the screen
- Guide Sable the little horned explorer to rest on the sun door's threshold to leave each room
- Crates, rolling boulders, scarab gems, spikes, crumbling sand, plates and gates, keys and locks, one-way grates
- Forty handmade rooms in four chambers, each proved solvable, with its par found by a solver
- Unlimited undo, restart, three solver hints a chamber and four stars a room: clear, two scarabs and par
- A chamber map that keeps your progress, and a daily room with a streak of days in a row

## About this template

## Overview

Tilt Tomb is a portrait gravity puzzle for Expo and React Native, built on the FluxNative game engine. Every move turns the whole tomb room a quarter turn. Gravity stays down the screen, so everything loose falls the new way, and Sable the little horned explorer leaves a room by coming to rest on the sun door's threshold. Forty rooms in four chambers: the Sandstone Antechamber, the Hall of Spikes, the Flooded Crypt and the Sun King's Vault.

It needs no server or account. Your stars, unlocked rooms, daily streak and settings are kept on the device.

## Key features

- Controls: swipe left or right across the room, or use the two turn buttons under it (a setting, on at first). A turn swings with a little overshoot, then things fall cell by cell, a little quicker each cell, and land with a squash and a thud.
- Pieces: crates rest anywhere; boulders roll one cell off a ledge and crush Sable from two cells up; two scarab gems a room; spikes; sand that cracks under weight and crumbles at the next turn; plates that hold gates open; keys that open locks; grates that let things through one way.
- Every room is proved solvable and its par found by a breadth-first solver, and the rules replay exactly.
- Help: unlimited undo that swings the room back, restart, and hints that show the solver's next turn, three per chamber, with one given back for each new star.
- Stars: one for clearing a room, one for each scarab and one for clearing within par. A room opens when the one before it is cleared. The daily room is drawn from chambers two to four by the date, with a streak.
- Feel: stone grinding and dust on each turn, scarabs bursting into twinkles that fly to the counter, sparking gates, spilling sand, torches dropping embers, the sun door blazing on the way out, sound, music and haptics.

## Screens

- Title: the painted wordmark over the tilted tomb, Play or Continue with the next room, the daily room with its streak, Levels, How to play, Settings and About.
- Room: moves against par, scarabs taken and hints left, with Pause, Undo, Restart, Hint and the two turn buttons, and a coach strip on the rooms that teach something.
- Room cleared: the stars for reaching the sun door, each scarab and par, with Next, Replay and Levels.
- Knocked out: the card when spikes or a boulder get Sable, with Undo, Restart and Levels.
- Levels: the chamber map with forty rooms, their stars and locks.
- Pause, How to play, Settings (sound effects, music, haptics, turn buttons, reduce motion, text size) and About with the credits.

## Backend and data

There is no backend. Progress and settings are kept on the device. There are no accounts and no online leaderboard.

## Monetisation

None. The game has no ads and no in-app purchases. If you want to sell something, add in-app purchases or ads to the app yourself.

## Make it yours

The rooms are text grids in levels/ (one file per chamber), the rules in tomb.ts and the solver in solver.ts. Timing and feel are named in tuning.ts: TURN, FALL, SQUASH, SWIPE and HINTS. DESIGN.md describes the whole game. The art is FluxNative's painted Tilt Tomb kit, the lettering is Fraunces (OFL), and the sounds and music are free packs credited on the About screen.

## What you get

- Full source — Expo and React Native in TypeScript, as an app in your workspace.
- Live preview — try every change in your browser or on your phone.
- Verified release — it compiles and every screen opens without errors.
- AI assistant — change anything by chat; each change uses credits.
- Builds and store upload — iOS and Android builds, sent to the App Store and Google Play from Publish.
- No credits to copy — the copy itself costs none.

## What you need

- A FluxNative account — the Free plan holds up to 2 apps.
- No backend to start — it runs on sample data until you connect yours.
- Creator or higher — for native builds and store upload.
- Store accounts — Apple Developer Program (US$99 a year) and Google Play (US$25 once), to publish.

Tags: game, puzzle, gravity puzzle, logic, levels, daily challenge, game engine, react native, expo

## How to use this template

1. Use the template to get an editable copy, with its source, in your workspace ([Templates](https://fluxnative.app/docs/templates)).
2. Ask the AI assistant for the changes you want, in plain words ([Work with the assistant](https://fluxnative.app/docs/work-with-the-assistant)).
3. Try each change in the live preview, or on your phone ([Preview](https://fluxnative.app/docs/preview)).
4. On Creator or higher, build it for iOS and Android and send it to the stores ([Publishing overview](https://fluxnative.app/docs/publishing-overview)).

## Questions

### Is it free?

Copying a free template costs nothing, not even credits; a Premium one is a one-time purchase per website. Chat changes and builds use credits.

### What do I own?

You own the app made for you. The template’s code stays InspireUI’s and is licensed for use in your apps (Terms › Our intellectual property).

### Do I need to know code?

No. Ask the assistant for changes in plain words; the full source is there when you want it.

### Does it come with a backend?

No. A full app names the backend it needs and you connect your own under App settings; a design runs on sample data.

### Can I change the design?

Yes. The Design panel sets the brand colour, colours, fonts and corners at no credit cost; the assistant changes the rest.

### Which plan do I need to publish?

Creator or higher builds and uploads to the stores, with your own Apple and Google accounts. A Premium template’s app builds on any plan once its website is connected.

### Can I download the source?

Yes, with Download source or Push to GitHub, once your workspace has bought a plan, credits or a paid template. A Premium template’s app also needs its website connected.

### What if it was made with an earlier FluxNative?

Your copy works as it is. Ask the assistant to update it for newer features such as app languages and currencies; it is the last setup step.

---

以 Tilt Tomb Gravity Puzzle Game App 模板为起点：用 AI 按你的想法修改，构建 iOS 和 Android 应用，并发布到 App Store 和 Google Play。

Page: https://fluxnative.app/zh-cn/templates/tilt-tomb-gravity-puzzle-game-app
