跳到主要内容
价格注册

游戏模板

Hearth Guard Arcade Game App

以 Hearth Guard Arcade Game App 模板为起点:用 AI 按你的想法修改,构建 iOS 和 Android 应用,并发布到 App Store 和 Google Play。

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

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

界面

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

包含内容

  1. One finger: drag round the fire to turn a carved wooden shield that blocks the ice flying in from every side
  2. Ice shards, twin shards that split, curving frost balls, heavy icicles, diving frost wraiths and squalls
  3. Perfect blocks with the shield's centre build combos and fill Kindle for a Flare that melts the ice nearby
  4. Five waves a night: the fifth is the frost giant's breath, and holding through it brings the dawn
  5. Catch embers on the shield's back for warmth, and spend the embers you earn on new shields and hearth stones
  6. A daily night with the same waves for everyone, best score and longest night kept on the device

关于此模板

Overview

Hearth Guard is a portrait, one-touch arcade game for Expo and React Native, built on the FluxNative game engine. A village fire burns in a snowy clearing at night. The player drags round it to turn one carved wooden shield that blocks the ice flying in from every side. Each threat that gets through takes a coal of warmth; when the warmth is gone, the fire goes out and the run ends.

It needs no server or account. The best score, the longest night, the daily best, embers, unlocked looks and settings are kept on the device.

Key features

  • Controls: one finger dragged anywhere round the fire turns the shield, a 70 degree arc. A tap or the Flare button lets the fire flare when Kindle is full; Settings has a left-handed option for the Flare button.

  • Threats: ice shards that fly straight in, twin shards that split halfway, frost balls that curve round the fire, heavy icicles only the shield's middle third breaks, frost wraiths that circle once and then dive, and squalls of six small flakes that each chill a little.

  • Scoring: every block scores its points times the combo multiplier. A perfect block on the shield's centre third adds a bonus and fills Kindle; eight fill it, and a Flare melts every threat within reach for four seconds. A chain of ten perfect blocks gives a short slow-motion beat.

  • Warmth: five coals at the start. Embers drift in and circle the fire; catching one on the shield's back gives warmth back.

  • Nights: five waves a night, the fifth a storm in which the frost giant's breath sweeps the clearing. Clearing the storm brings the dawn and a bonus, then the next night begins.

  • Daily night: one night at night 2's difficulty, with the same waves for everyone that day, and its own best on the title.

  • Shop: four shield carvings (Oak and deer, Birch and birds, Iron-bound, Ember gold) and four hearth stones (Field stones, Slate ring, River stones, Moonstone), bought with embers earned in play. They change the look only.

  • Feel: painted Nordic-folk winter art, firelight against blue snow and an aurora, the cold creeping in as warmth falls, sparks, frost bursts, sounds, music and haptics, and a three-step first-run coach you can skip.

Screens

  • Title: the painted wordmark over the snowy village, your best score and night, Play, Daily night with its best, Shop, How to play, Settings and About.

  • Run: the score, night and wave with the warmth coals along the top, Pause and the combo on the right, and the Flare button that fills as Kindle builds.

  • Game over: "Dawn came", "The fire went out" or "Your longest watch", with the score, the night, perfect blocks, your best, the embers earned and the next look to save for, then Retry (Play again for the daily night) or Home.

  • Shop (Carvings): shields and hearths on two tabs, each with its price in embers, owned or equipped.

  • Pause (Resume, Settings, Home), How to play with every threat and Replay tutorial, Settings (sound effects, music, haptics, left-handed, 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: the shop's shields and hearth stones are bought with embers earned in play, and they are cosmetic. If you want to sell something, add in-app purchases or ads to the app yourself.

Make it yours

The rules are in sim.ts (the shield's geometry in arc.ts, the seeded waves in schedule.ts), and every number is named in tuning.ts: SHIELD, WARMTH, KINDLE, WAVES_PER_NIGHT, EARN, PRICES and more. The shop's looks are in skins.ts. DESIGN.md describes the whole game. The art is FluxNative's painted Hearth Guard kit, and the sounds and music are free packs credited on the About screen.

gamearcadeone touchcasualhigh scoredaily challengegame enginereact nativeexpo

你将获得

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

使用当前版本的 FluxNative 制作。

你需要什么

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

源码里有什么

个界面
2
个文件(副本中)
559
行为此应用编写的代码
8,610
个现成 UI 组件
149

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

技术栈

Expo SDK
57.0.22
React Native
0.86.3
React
19.2.8
TypeScript
6.0.3
Expo Router
57.0.21

来自此版本的 package.json。

设计系统

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

复刻后的设置

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

  1. Play a night in the preview

    The app opens on the Hearth Guard title. Press Play, then drag round the fire to turn the shield into the ice.

  2. Tune the feel

    The shield's width, the warmth, Kindle and the waves per night are named numbers in src/features/game/hearth-guard/tuning.ts.

    给 AI 的提示词

    Make Hearth Guard a little easier: give the fire 6 coals in WARMTH and make the shield a little wider in SHIELD (both in src/features/game/hearth-guard/tuning.ts), keeping the sim tests passing. Then play a night in the preview and tell me what changed.

  3. Change the shop

    The shields and hearth stones are in src/features/game/hearth-guard/skins.ts, their prices in PRICES in tuning.ts.

    给 AI 的提示词

    In Hearth Guard, make the shop's shields and hearth stones cheaper by half in PRICES (src/features/game/hearth-guard/tuning.ts) and earn twice the embers per dawn in EARN. Then open the Shop in the preview and show me the new prices.

  4. Rename the game

    The game's name is GAME_TITLE in menus/Title.tsx.

    给 AI 的提示词

    Rename the game from Hearth Guard to my own name: change GAME_TITLE in src/features/game/hearth-guard/menus/Title.tsx and every other place the name Hearth Guard shows to players. Check the title screen in the preview.

如何使用此模板

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

许可与支持

许可

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

帮助

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

由 FluxNative 制作

支持政策

常见问题

免费吗?

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

我拥有什么?

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

需要懂代码吗?

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

自带后端吗?

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

可以改设计吗?

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

发布需要哪个套餐?

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

能下载源码吗?

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

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

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

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

从 Hearth Guard Arcade Game App 开始,通过聊天修改任何内容。你的副本包含完整源代码。

免费复刻,无需信用卡。

Taking a little longer than usual…

Loading FluxNative