跳到主要内容

游戏模板

Mudline Off-Road Driving Game App

An off-road driving game for iOS and Android: gas and brake pedals, flips, fuel cans, a garage of trucks and upgrades, missions, a daily reward and a leaderboard with rivals.

  • 10 个界面
  • iOS 和 Android
  • 示例数据
  • 更新于 2026年10月29日
  • 已验证版本

免费复制 · 完整源码 · 无需信用卡

界面

来自实际运行应用的 6 个界面。

包含内容

  1. Plays on the first screen: hold gas to go, steer in the air, land on your wheels
  2. A pure, unit-tested physics engine with fuel, flips, big air, checkpoints and crashes
  3. A wet mud track with puddles that splash, mud off the tyres and a truck that gets muddier
  4. A garage of eight trucks of their own shapes and four upgrades that change the physics
  5. Three missions at a time and a 7-day daily reward, all counted from real runs
  6. A leaderboard with rival drivers, and a weekly board on Supabase that times every run on the server

关于此模板

Overview

Mudline is an arcade driving game in the mud: a small truck over endless hills with a gas and a brake pedal. Balance it in the air, land on its wheels, splash through puddles, grab fuel cans and coins, and go a little further each run. The game is the first screen, ready to play in a second; the garage, missions, leaderboard and settings push over it as pages of the same land.

Everything works with no backend in sample mode, from a lived-in sample save. Connect Supabase for a weekly board of every player and RevenueCat to sell Mudline Plus.

Key features

  • Driving: gas and brake pedals at the bottom of the screen, nose up or down in the air, flips and big air paid in coins, fuel cans to find, a crash past 75°

  • One seeded course that grows steeper in 500 m stretches, coin rows over its crests, posts, checkpoint flags and the player's best on the road

  • Garage: eight bodies of their own shapes, from a buggy to a tractor (six for coins, two only in Plus), and Grunt, Lugs, Springs and Tank upgrades of five levels

  • Missions: three at a time from real runs, a reward when claimed, a harder one in its place; a 7-day daily reward by the phone's date

  • Leaderboard: the player's best among seven course regulars, the ten best runs, and a weekly board with Supabase

  • Game feel: mud clods and dust puffs, puddle splashes, coin pops, a camera kick and stars on a crash, haptics on pickups and flips, all optional

Screens

  • Game: ready, driving, paused and the result board with the crash kept in view

    Game
  • Garage: the truck on a turntable in the shed, bodies and upgrades

    Garage
  • Missions: the daily reward board, missions and the week's driving

    Missions
  • Leaderboard: trucks on mud mounds, rival drivers and your ten best

    Leaderboard
  • How to play, Mudline Plus, Settings, About, Terms of Use and Privacy Policy

Backend

The weekly board is a Supabase migration: every run starts on the server and submit_score takes each run once, refusing one longer than the time since it started, faster than the truck can go or with impossible coins. Anon reads no table; the board shows names, bests and places only, and Delete my data removes a player's runs, name and anonymous sign-in.

Monetisation

One non-consumable purchase, Mudline Plus, through RevenueCat: every truck in the garage and double coins. No ads, no loot boxes, nothing that looks like gambling. Without store keys the Plus page shows a sample price and sells nothing.

Setup

  • Run the migration on your Supabase project, allow anonymous sign-ins and add its URL and key

  • Create the mudline_plus product, the plus entitlement and the default offering in RevenueCat and add its keys

  • Reskin the land, the trucks, the prices and the rivals in a handful of files

gamedriving gameoff-roadarcadephysicsleaderboardmissionssupabaserevenuecatreact nativeexpo

你将获得

  • 完整源码 — 使用 TypeScript 的 Expo 和 React Native,作为你工作区中的一个应用。
  • 实时预览 — 在浏览器或手机上试用每项更改。
  • 已验证版本 — 可编译,每个界面都能无错误打开。
  • AI 助手 — 用聊天修改任何内容;每次修改会消耗积分。
  • 构建与上架 — iOS 和 Android 构建,从发布页发送到 App Store 和 Google Play。
  • 复制不耗积分 — 复制本身不收费。

使用较早版本的 FluxNative 制作。你的副本可以照常使用;需要应用语言、货币和关于链接时,请让智能体更新。

你需要什么

  • FluxNative 账号 — 免费套餐最多可有 2 个应用。
  • 无需先接后端 — 在你连接自己的后端之前,它使用示例数据运行。
  • Creator 或更高套餐 — 用于原生构建和上架。
  • 商店账号 — Apple Developer Program(每年 99 美元)和 Google Play(一次性 25 美元),用于发布。

源码里有什么

个界面
10
个文件(副本中)
330
行为此应用编写的代码
8,103
个现成 UI 组件
139

应用文本语言:英语和越南语

技术栈

Expo SDK
57.0.22
React Native
0.86.3
React
19.2.8
TypeScript
6.0.3
Expo Router
57.0.21
Supabase JS
2.112.3
RevenueCat
10.9.1

来自此版本的 package.json。

设计系统

标题
Outfit
正文
系统字体
  • 支持浅色和深色模式
  • Liquid Glass
  • 胶囊按钮
  • 悬浮卡片

复刻后的设置

你的副本会和构建它的 AI 助手一起打开。按顺序完成步骤:某一步需要连接的内容,请在 Server 中连接,然后发送每条提示词。

  1. Connect Supabase for the weekly board

    Server › Backend › Supabase: run the board's migration and allow anonymous sign-ins.

    给 AI 的提示词

    Connect the game's Supabase project for the weekly board: apply supabase/migrations/20261027150000_weekly_board.sql, make sure anonymous sign-ins are allowed (Authentication › Sign In / Providers), and set EXPO_PUBLIC_SUPABASE_URL and EXPO_PUBLIC_SUPABASE_ANON_KEY. Then finish a run and check that it appears on the Leaderboard's This week board.

  2. Sell Mudline Plus with RevenueCat

    Server › Monetization: a non-consumable mudline_plus, the plus entitlement and the default offering.

    给 AI 的提示词

    Set up Mudline Plus in RevenueCat: a non-consumable product mudline_plus in App Store Connect and Google Play, an entitlement plus that holds it, and the default offering with one Lifetime package. Add EXPO_PUBLIC_REVENUECAT_IOS_KEY and EXPO_PUBLIC_REVENUECAT_ANDROID_KEY, and set PLAN_PREVIEW in src/services/iap/index.ts to my store price.

  3. Make the land and the trucks yours

    The palette, the bodies and their prices, the course and the rivals live in a few files.

    给 AI 的提示词

    Reskin Mudline for my game: change the land, sky and truck paints in src/features/game/palette.ts, the bodies, upgrades and prices in src/features/game/catalog.ts, and the rival drivers in src/services/leaderboard/rivals.ts together with the seed rows at the end of the weekly board migration. Keep the day and night looks.

  4. Put in your terms and privacy policy

    Replace the in-app sample pages, or set their addresses.

    给 AI 的提示词

    Replace the sample Terms of Use and Privacy Policy in src/features/legal/TermsScreen.tsx and PrivacyScreen.tsx with my own text, or set EXPO_PUBLIC_TERMS_URL and EXPO_PUBLIC_PRIVACY_POLICY_URL to my hosted pages.

如何使用此模板

  1. 使用模板,在你的工作区中获得一个可编辑的副本及其源代码(模板)。
  2. 用平常的话告诉 AI 助手你想要的修改(与助手协作)。
  3. 在实时预览或手机上试用每次修改(预览)。
  4. 使用 Creator 或更高套餐,构建 iOS 和 Android 应用并提交到应用商店(发布概览)。

许可与支持

许可

为你生成的应用归你所有;模板代码仍归 InspireUI 所有,并授权你在自己的应用中使用(条款 › 我们的知识产权)。

帮助

  • 指南:模板、助手和发布。
  • 在帮助中联系支持;通常 1–2 个工作日内回复。
  • 在你的副本中,可向 AI 助手询问任何界面或文件。

由 FluxNative 制作

支持政策

常见问题

免费吗?

复制免费模板不收费,也不耗积分;Premium 模板按网站一次性购买。聊天修改和构建会消耗积分。

我拥有什么?

为你生成的应用归你所有。模板代码仍归 InspireUI 所有,并授权你在自己的应用中使用(条款 › 我们的知识产权)。

需要懂代码吗?

不需要。用日常语言让助手修改;需要时随时可看完整源码。

自带后端吗?

不带。完整应用会写明所需后端,你在 Server 中连接自己的;设计模板使用示例数据运行。

可以改设计吗?

可以。设计标签页可设置品牌色、颜色、字体和圆角,不耗积分;其余由助手修改。

发布需要哪个套餐?

Creator 或更高套餐,用你自己的 Apple 和 Google 账号构建并上传到商店。Premium 模板的应用在连接其网站后,任何套餐都能构建。

能下载源码吗?

可以,使用“下载源码”或“推送到 GitHub”,前提是你的工作区已购买套餐、积分或付费模板。Premium 模板的应用还需连接其网站。

如果是用较早版本的 FluxNative 做的呢?

你的副本照常可用。让助手把它更新到较新的功能,如应用语言和货币;这是最后一个设置步骤。

准备好打造你的应用了吗?

从 Mudline Off-Road Driving Game App 开始,通过聊天修改任何内容。你的副本包含完整源代码。

免费复刻,无需信用卡。

Taking a little longer than usual…

Loading FluxNative