Log inGet started
World

Pocket Insects

Branchmain
Branchesmain
Commit0514f6e582

README.md

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).