Mẫu Trò chơi
Hearth Guard Arcade Game App
Dùng mẫu Hearth Guard Arcade Game App làm điểm bắt đầu: chỉnh theo ý bằng AI, xây dựng cho iOS và Android rồi phát hành lên App Store và Google Play.
- 2 màn hình
- iOS & Android
- Dữ liệu mẫu
- Cập nhật 4 thg 12, 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 chạy thật.
Có gì bên trong
- One finger: drag round the fire to turn a carved wooden shield that blocks the ice flying in from every side
- Ice shards, twin shards that split, curving frost balls, heavy icicles, diving frost wraiths and squalls
- Perfect blocks with the shield's centre build combos and fill Kindle for a Flare that melts the ice nearby
- Five waves a night: the fifth is the frost giant's breath, and holding through it brings the dawn
- Catch embers on the shield's back for warmth, and spend the embers you earn on new shields and hearth stones
- A daily night with the same waves for everyone, best score and longest night kept on the device
Về mẫu này
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.
Bạn nhận được
- Toàn bộ mã nguồn: Expo và React Native viết bằng TypeScript, thành 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 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ứ qua chat; mỗi thay đổi tốn credit.
- Bản dựng và tải lên kho ứng dụ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 sao không mất credit nào.
Tạo bằng phiên bản FluxNative hiện tại.
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 kho ứng dụng.
- Tài khoản kho ứng dụng: Apple Developer Program (99 USD/năm) và Google Play (25 USD một lần), để phát hành.
Trong mã nguồn có gì
- màn hình
- 2
- tệp trong bản sao
- 559
- dòng code viết riêng cho ứng dụng này
- 8.610
- component giao diện có sẵn
- 149
Ngôn ngữ của ứ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
Lấy từ package.json của bản phát hành này.
Hệ thống thiết kế
- Tiêu đề
- Phông hệ thống
- 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 mở cùng trợ lý AI đã tạo ra nó. Làm lần lượt từng bước: kết nối những gì bước đó yêu cầu trong Cài đặt ứng dụng, rồi gửi từng yêu cầu.
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.
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.
Yêu cầu cho AIMake 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.
Change the shop
The shields and hearth stones are in src/features/game/hearth-guard/skins.ts, their prices in PRICES in tuning.ts.
Yêu cầu cho AIIn 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.
Rename the game
The game's name is GAME_TITLE in menus/Title.tsx.
Yêu cầu cho AIRename 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.
Cách dùng mẫu này
- Dùng mẫu để có một bản sao sửa được, kèm mã nguồn, trong không gian làm việc của bạn (Mẫu).
- Nói với trợ lý AI những gì bạn muốn đổi, bằng lời thường (Làm việc với trợ lý).
- Xem 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).
- Từ gói Creator trở lên, dựng cho iOS và Android rồi gửi lên kho ứng dụng (Tổng quan phát hành).
Giấy phép và hỗ trợ
Giấy phép
Ứng dụng 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ề mẫu, trợ lý và xuất bản.
- Liên hệ hỗ trợ từ Trợ giúp; thường trả lời trong 1–2 ngày làm việc.
- Trong bản sao, hỏi trợ lý AI về bất kỳ màn hình hay tệp nào.
Do FluxNative làm
Chính sách hỗ trợCâu hỏi
Có miễn phí không?
Sao chép mẫu miễn phí không tốn gì, kể cả credit; mẫu Premium mua một lần cho mỗi website. Sửa qua chat và bản dựng thì tốn credit.
Tôi sở hữu những gì?
Bạn sở hữu ứng dụng tạo cho bạn. Mã của mẫu 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 › 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ý sửa bằng lời thường; toàn bộ mã nguồn luôn có sẵn khi bạn cần.
Có kèm backend không?
Không. Ứng dụng hoàn chỉnh ghi rõ backend cần dùng, bạn kết nối backend của mình trong Cài đặt ứng dụng; mẫu Design chạy bằng dữ liệu mẫu.
Tôi đổi được thiết kế không?
Được. Bảng Design đổi màu thương hiệu, bảng màu, phông chữ và bo góc mà không tốn credit; phần còn lại nhờ trợ lý.
Cần gói nào để xuất bản?
Gói Creator trở lên dựng và tải lên kho ứng dụng, bằng tài khoản Apple và Google của bạn. Ứng dụng từ mẫu Premium dựng được ở mọi gói khi đã kết nối website.
Tôi tải mã nguồn về được không?
Được, bằng Tải mã nguồn hoặc Push lên GitHub, khi không gian làm việc đã mua gói, credit hoặc mẫu trả phí. Ứng dụng từ mẫu Premium còn cần kết nối website.
Nếu mẫu được tạo bằng FluxNative bản cũ thì sao?
Bản sao 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 cùng.
Sẵn sàng bắt đầu với mẫu này?
Bắt đầu từ Hearth Guard Arcade Game App và đổi mọi thứ qua chat. Bản sao có đầy đủ mã nguồn.
Sao chép miễn phí. Không cần thẻ tín dụng.