![Mobile game illustration](https://fluxnative.app/use-cases/mobile-game.webp)

# Build a mobile game with AI

Describe a 2D or 3D game and the assistant builds it on FluxNative's game engine, or start from a ready game template.

## Screens a mobile game needs

- Title
- Game round
- Pause
- Round over
- Missions
- Shop
- Leaderboard

## Templates for this app

- [Zonefall Arena Battle Game App template](https://fluxnative.app/templates/zonefall-arena-battle-game-app)
- [Roofrail Endless Runner Game App template](https://fluxnative.app/templates/roofrail-endless-runner-game-app)
- [Mudline Off-Road Driving Game App template](https://fluxnative.app/templates/mudline-off-road-driving-game-app)

## How to build it with FluxNative

1. ### Start from a template or a description
   Copy the template or describe your app in chat. [Zonefall Arena Battle Game App template](https://fluxnative.app/templates/zonefall-arena-battle-game-app) [Start a project](https://fluxnative.app/docs/start-a-project)
2. ### Refine it in chat
   Ask for one change at a time; undo any turn. [Work with the assistant](https://fluxnative.app/docs/work-with-the-assistant)
3. ### Connect the backend
   Add Supabase, Firebase or Appwrite; the assistant creates the tables. [App settings](https://fluxnative.app/docs/connections)
4. ### Build and install
   Install Android by QR code; build iOS without a Mac. [Native builds overview](https://fluxnative.app/docs/builds-overview)
5. ### Publish
   Uploads to TestFlight and Google Play; submits when you confirm. [Publishing overview](https://fluxnative.app/docs/publishing-overview)

## Data and backend

Engine games keep saves on the phone. The templates hold a weekly leaderboard in Supabase that checks each run on the server. Online play needs the engine's server on your own hosting.

## Payments and store rules

Coins, outfits and a Plus pass are digital, so they sell through App Store and Google Play purchases; the templates set up Plus with RevenueCat.

## A first prompt to send

> Make a game: a 2.5D one-on-one fighter against a bot, played sideways. Three fighters with their own weapons, light and heavy attacks, block and parry, a super move when the meter is full, best of three rounds, and easy, normal and hard bots.

## Guides

- [Make a game](https://fluxnative.app/docs/make-a-game)
- [Templates](https://fluxnative.app/docs/templates)
- [In-app purchases](https://fluxnative.app/docs/in-app-purchases)
- [Install and test on a device](https://fluxnative.app/docs/install-on-device)
- [The Publish steps](https://fluxnative.app/docs/store-readiness)

## Frequently asked questions

### Does FluxNative have its own game engine?

Yes. Real-time games run on FluxNative's engine: rules in TypeScript, a native core on iPhone and Android and WebAssembly on the web, with 2D and 3D physics, particles, sound and saves.

### Which games can the assistant make?

Arcade, puzzle, physics, card and board, tower defence, 3D races and survival, story games and a one-on-one fighter. Choose Game under Start from; it starts from the Library's game samples.

### Are the game templates built on the engine?

No. Zonefall, Mudline, Flitwing and Roofrail are React Native games drawn in code, with missions, a shop and a weekly board. Copy one to reskin it; choose Game for an engine game.

### Can people play online against each other?

Matches against bots work in every build. Online play against people needs the engine's game server on your own hosting or computer; FluxNative never runs one.

## Other apps you can build

- [Build a food delivery app with AI](https://fluxnative.app/use-cases/food-delivery-app)
- [Build a fitness app with AI](https://fluxnative.app/use-cases/fitness-app)
- [Build a social media app with AI](https://fluxnative.app/use-cases/social-media-app)
- [Build a travel booking app with AI](https://fluxnative.app/use-cases/travel-booking-app)
- [Build an education app with AI](https://fluxnative.app/use-cases/education-app)
- [Build a healthcare app with AI](https://fluxnative.app/use-cases/healthcare-app)
- [Build a crypto wallet app with AI](https://fluxnative.app/use-cases/crypto-wallet-app)
- [Build an AI assistant app](https://fluxnative.app/use-cases/ai-assistant-app)
- [Build an e-commerce app with AI](https://fluxnative.app/use-cases/ecommerce-app)
- [Build an app for your local business with AI](https://fluxnative.app/use-cases/local-business-app)
- [Build a calorie tracker app with AI](https://fluxnative.app/use-cases/calorie-tracker-app)
- [Build an AI photo app](https://fluxnative.app/use-cases/ai-photo-app)

---

Build a mobile game with AI: arcade, puzzle, racing, battle or fighting games on FluxNative's 2D and 3D engine, or from a React Native game template.

Page: https://fluxnative.app/use-cases/mobile-game
