Uploaded October 2026 | Updated November 2026, 3 hours ago
Learn how to build a Miliastra Wonderland stage with Lua: create your UI from control templates, then save and load player data across sessions using a player variable, In-Game Save and signal node graphs.
We build a simple tap counter in a single Main.lua. Tap to score, reset anytime, exit, and your best score is still there when you come back.
What you'll learn:
- Creating text and button control templates and using their index numbers in Lua
- Attaching Main.lua to a UI container so the UI builds itself
- Setting up an In-Game Save structure, save template and player variables
- Sending a save signal from Lua and writing it with a node graph
- Loading the save when the player enters, and exiting with Settle Stage
Chapters:
0:00 What we're building
0:16 Stage and control templates
0:48 Script and UI
2:01 Save structure and variables
3:25 Save signal and graph
4:14 Load and exit graphs
5:05 Test Play: tap, exit, re-enter
Useful links:
Official Miliastra tutorial: act.hoyoverse.com/ys/ugc/tutorial
Lua API reference: interverse.github.io/miliastra-lua-docs
LUA main code are AI-generated with references from links above.
#GenshinImpact #MiliastraWonderland #MiliastraWonderlandStagesDeveloping
#hoyoverse #Hoyocreators #genshinimpactgameplay
#genshin #genshinimpact
Learn how to build a Miliastra Wonderland stage with Lua: create your UI from control templates, then save and load player data across sessions using a player variable, In-Game Save and signal node graphs.
We build a simple tap counter in a single Main.lua. Tap to score, reset anytime, exit, and your best score is still there when you come back.
What you'll learn:
- Creating text and button control templates and using their index numbers in Lua
- Attaching Main.lua to a UI container so the UI builds itself
- Setting up an In-Game Save structure, save template and player variables
- Sending a save signal from Lua and writing it with a node graph
- Loading the save when the player enters, and exiting with Settle Stage
Chapters:
0:00 What we're building
0:16 Stage and control templates
0:48 Script and UI
2:01 Save structure and variables
3:25 Save signal and graph
4:14 Load and exit graphs
5:05 Test Play: tap, exit, re-enter
Useful links:
Official Miliastra tutorial: act.hoyoverse.com/ys/ugc/tutorial
Lua API reference: interverse.github.io/miliastra-lua-docs
LUA main code are AI-generated with references from links above.
#GenshinImpact #MiliastraWonderland #MiliastraWonderlandStagesDeveloping
#hoyoverse #Hoyocreators #genshinimpactgameplay
#genshin #genshinimpact










