Chuyển đến nội dung

Mẫu Trò chơi

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 màn hình
  • iOS & Android
  • Dữ liệu mẫu
  • Cập nhật 29 thg 10, 2026
  • Bản phát hành đã kiểm tra

Sao chép miễn phí · Toàn bộ mã nguồn · Không cần thẻ

Màn hình

6 màn hình từ ứng dụng thực tế.

Có gì bên trong

  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

Giới thiệu mẫu

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

Bạn nhận được

  • Toàn bộ mã nguồn — Expo và React Native bằng TypeScript, là một ứng dụng trong không gian làm việc của bạn.
  • Xem trước trực tiếp — thử mọi thay đổi ngay trên trình duyệt hoặc điện thoại.
  • Bản phát hành đã kiểm tra — biên dịch được và mọi màn hình mở không lỗi.
  • Trợ lý AI — đổi mọi thứ bằng chat; mỗi thay đổi dùng credit.
  • Bản dựng và tải lên cửa hàng — bản dựng iOS và Android, gửi lên App Store và Google Play từ Xuất bản.
  • Sao chép không tốn credit — bản thân việc sao chép không mất credit nào.

Được làm bằng phiên bản FluxNative cũ hơn. Bản sao vẫn chạy bình thường; hãy nhờ agent cập nhật cho ngôn ngữ, tiền tệ và liên kết Giới thiệu của ứng dụng.

Bạn cần

  • Tài khoản FluxNative — gói Free chứa tối đa 2 ứng dụng.
  • Không cần backend để bắt đầu — chạy bằng dữ liệu mẫu cho đến khi bạn kết nối backend của mình.
  • Gói Creator trở lên — để dựng bản native và tải lên cửa hàng.
  • Tài khoản cửa hàng — Apple Developer Program (99 USD/năm) và Google Play (25 USD một lần), để xuất bản.

Mã nguồn có gì

màn hình
10
file trong bản sao
330
dòng code viết riêng cho ứng dụng
8.103
component giao diện có sẵn
139

Ngôn ngữ trong ứng dụng: Tiếng Anh và Tiếng Việt

Công nghệ

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

Từ package.json của bản phát hành này.

Hệ thống thiết kế

Tiêu đề
Outfit
Nội dung
Phông hệ thống
  • Chế độ sáng và tối
  • Liquid Glass
  • Nút bo tròn
  • Thẻ nổi

Thiết lập sau khi sao chép

Bản sao của bạn mở cùng trợ lý AI đã xây nó. Làm các bước theo thứ tự: kết nối những gì từng bước yêu cầu trong Máy chủ, rồi gửi từng câu lệnh.

  1. Connect Supabase for the weekly board

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

    Câu lệnh cho 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.

    Câu lệnh cho 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.

    Câu lệnh cho 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.

    Câu lệnh cho 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.

Cách dùng mẫu này

  1. Dùng mẫu để có một bản sao chỉnh sửa được, kèm mã nguồn, trong không gian làm việc của bạn (Mẫu).
  2. Nhờ trợ lý AI thay đổi những gì bạn muốn, bằng lời thường (Làm việc với trợ lý).
  3. Xem thử từng thay đổi trong bản xem trước trực tiếp, hoặc trên điện thoại (Xem trước).
  4. Từ gói Creator trở lên, build cho iOS và Android rồi gửi lên các cửa hàng (Tổng quan phát hành).

Giấy phép và hỗ trợ

Giấy phép

Ứng dụng được tạo cho bạn là của bạn; mã của mẫu vẫn thuộc InspireUI và được cấp phép để dùng trong các ứng dụng của bạn (Điều khoản › Sở hữu trí tuệ của chúng tôi).

Trợ giúp

  • Hướng dẫn về template, trợ lý và xuất bản.
  • Liên hệ hỗ trợ từ Trợ giúp; thường phản hồi trong 1–2 ngày làm việc.
  • Trong bản sao của bạn, hỏi trợ lý AI về bất kỳ màn hình hay tệp nào.

Do FluxNative tạo

Chính sách hỗ trợ

Câu hỏi

Có miễn phí không?

Sao chép template miễn phí không mất gì, kể cả credit; template Premium mua một lần cho mỗi website. Đổi bằng chat và bản dựng dùng credit.

Tôi sở hữu gì?

Bạn sở hữu ứng dụng được tạo cho bạn. Mã của template vẫn thuộc InspireUI và được cấp phép dùng trong ứng dụng của bạn (Điều khoản › Quyền sở hữu trí tuệ của chúng tôi).

Tôi có cần biết code không?

Không. Nhờ trợ lý đổi bằng lời thường; có toàn bộ mã nguồn khi bạn cần.

Có kèm backend không?

Không. Ứng dụng đầy đủ nêu backend cần dùng và bạn kết nối backend của mình trong Máy chủ; bản thiết kế chạy bằng dữ liệu mẫu.

Tôi đổi được thiết kế không?

Được. Tab Thiết kế đặt màu thương hiệu, màu sắc, phông chữ và bo góc mà không tốn credit; trợ lý đổi phần còn lại.

Cần gói nào để xuất bản?

Gói Creator trở lên dựng và tải lên cửa hàng, bằng tài khoản Apple và Google của bạn. Ứng dụng từ template Premium dựng được ở mọi gói khi đã kết nối website.

Tôi tải được mã nguồn không?

Được, bằng Tải mã nguồn hoặc Đẩy lên GitHub, khi không gian làm việc của bạn đã mua gói, credit hoặc template trả phí. Ứng dụng từ template Premium cũng cần kết nối website.

Nếu nó được tạo bằng FluxNative cũ hơn thì sao?

Bản sao của bạn vẫn chạy bình thường. Nhờ trợ lý cập nhật để có tính năng mới như ngôn ngữ và tiền tệ của ứng dụng; đó là bước thiết lập cuối.

Sẵn sàng biến mẫu này thành ứng dụng của bạn?

Bắt đầu từ Mudline Off-Road Driving Game App và thay đổi mọi thứ qua chat. Bản sao của bạn có đầy đủ mã nguồn.

Sao chép miễn phí. Không cần thẻ tín dụng.

Taking a little longer than usual…

Loading FluxNative