Roblox-style collect/upgrade simulators: tap (or auto-swing) nodes → fill a backpack → sell → buy better tools/backpacks → unlock zones with tougher, richer nodes → hatch pet companions from eggs bought with in-game coins → rebirth for a permanent coin bonus. Offline earnings, quests/daily rewards, leaderboard-ready stats. Portrait UI pieces included. Thin layer: coins = core.wallet, events → core.events (quests/achievements count them), save = a core.save section, rebirth = a progression prestige layer ("rebirth"), daily = prog.streak, feel = juice. Example: games/examples/kit-simulator (Pebble Pals: 4 zones, 6 tools, 4 backpacks, 12 pets in 3 eggs, 8 quests, rebirth).
Setup
kits = ["simulator"] # pulls in core, progression, juice (kit.json requires)
orientation = "portrait"-- scripts/shared/game.luau (call G.get() from the scene script; start once per session)
local Sim = require("@kit/simulator")
local s, offline = Sim.start({
core = { save = { key = "mygame", version = 1 }, theme = { primary = "#4f8fd6", accent = "#ffcf3f", background = "#3a2f4a", text = "#fffaf0", font = "rounded" } },
daily = { rewards = { { { earn = "coins", amount = 100 } }, { { hatch = "meadow_egg" } } } }, -- optional prog.streak
})
-- scene script (attached to the scene root): UI
local UI = Sim.ui
UI.hud(s, { coinIcon = "asset:coin", bagIcon = "asset:bag" })
UI.field(s, { area = { 40, 230, 640, 770 }, count = 6, size = 140, ground = entity("ground"), shadow = "asset:shadow", ring = "asset:ring" })
UI.bar({ { label = "SELL", wide = true, onPress = function() UI.sellFx(s, s:sell(), vec2(360, 860), camera.screenToWorld(vec2(60, 50))) end },
{ label = "Eggs", onPress = function() UI.eggs(s) end }, { label = "Pets", onPress = function() UI.pets(s) end },
{ label = "Map", onPress = function() UI.zones(s) end } })
if offline then UI.offline(s, offline) endSim.start(opts) = content from data files (data.read), core.setup (quests/achievements/dialog from data/<kind>/), core.save.load(), offline credit (clock.now()), autosave every opts.autosave (10 s) + play-time stat as session code (game.session), condition/effect kinds bound. Returns sim, offlineReport|nil. Sim.current() = that sim. Sim.new(content?, { headless?, rand?, now?, autoEquip? (true) }) builds a bare sim (tests, balance; headless = private wallet/layer, no events/save).
Example game

Pebble Pals
Tap rocks, fill your bag, sell your haul and hatch critter pals.