Log inGet started
World

Banana 2077

Branchmain
Branchesmain
Commit49a1306fab

README.md

game.story.cast

The procedural fruit cast of Banana 2077: Jackie Watermelon, Judy Blueberry, Panam Pomelo, River Radish, Kerry Kiwi, Dex DeCoconut and the five vendors (Noodle Nana, Doc Kumquat, Hiro Durian, Misty Mango, Byte Banana).

Cast.build(id, parentEntity, name?) builds one character rig out of shared part meshes and the story/enemy materials, returning root (ground pivot, +Z forward), body (hip pivot), armL/armR, legL/legR and comps (its Model components, for culling). Cast.SPECS[id] holds each rig's proportions and Cast.IDS lists every buildable id.

Called by game.story.Story (the NPCs you talk to) and the shops slice (vendors behind their counters).