◇
component · drop-in viewer
pocket_Game
The single world-component for **Pocket Insects**. One instance, mounted on a `GameRoot` entity by the startup scene, owns the entire experience:
by·posted 3mo ago
What it does
pocket.Game
The single world-component for Pocket Insects. One instance, mounted on a
GameRoot entity by the startup scene, owns the entire experience:
- All UI (zui screens + callbacks): main menu, starter select, overworld HUD, turn-based battle, team, bag, Bugdex, settings, pause/menu, and dialog.
- The top-down 2.5D overworld: builds the tile region (Garden Town with clinic + professor + gym, Meadow route, Lily Pond, Oak Forest), the player figure, NPCs (rival, four gym leaders, professor) and bait traps; drives grid movement, a follow camera, day/night lighting, and per-step encounters.
- The audio bus (master / music / SFX wired to the Settings sliders), with cues surfaced as captions for accessibility.
Game rules live in pocket.engine over
pocket.data; this component is the presentation and control
layer. Runs in edit mode via editorUpdate (and play via update).
Discussion
Scoped to this part · feeds back into the world's score.
Sign in to post.sign in
No comments yet. Be the first.