BodhiBot: how she moves
BodhiBot is the robot who woke up in the Human realm and vowed to free every being. This page covers her controller: the moves she has now, the moves she could learn, and the decisions still open.

The short answer
Keep her own controller and add the new moves to it. Take the moves from Hello Mario Framework, not its code.
- Hello Mario Framework is a Unity project in C#. Its player is a physics body (
Assets/HelloMarioFramework/Script/Player.cs, 980 lines). It cannot run in three.js. - Her controller,
prototypes/world-map/roam.js, is pure JavaScript with no three.js and no DOM. It reads the world as heights, not physics bodies. - She already has the moves that the framework lacks: the robe glide, the feather jump, the wall climb and the pull-up.
- The framework's code is MIT. Its Mario models, animations and sounds are licensed for non-commercial fan games only, so none of them come in.
- Mario 64 does have a "double jump", but it is a second jump from the ground right after a landing. Her feather jump is a second jump in mid-air, which Mario 64 does not have.
Jump arcs
Each line is the path of one jump, seen from the side. The numbers come from her real constants in roam.js. The new moves use proposed numbers that you can change with the sliders. Her height is about 0.56, and a terrace is 0.5. A normal jump clears one terrace but never two, so two terraces is where feathers start to matter.
| Move | Status | Peak | Reach | Distance | Air time | Two terraces? |
|---|
Peak is the height gained. Reach adds the pull-up (0.2, roam.js:59) where the move allows one, else the 0.05 she can pass over. Two terraces (1.0) need a reach of 1.0. The hop is an 80 ms tap. The wall jump starts from feet at 0.5 against a wall at 4.6.
Controller map
What each input does in each situation. Has it is in roam.js today. New is a proposed move. On a keyboard, Space jumps and Shift crouches (C also works). On touch, crouch needs a new button (see the open decisions).
| Situation | Tap jump | Hold jump | Press crouch | Jump while crouching | Jump, stick reversed |
|---|---|---|---|---|---|
| Standing | HopHas itPeak 0.33, or about 0.49 from a quick tap | Full jumpHas itPeak 0.75. Pushing at a wall: climb | CrouchNew | BackflipNewUp and back | HopToo slow to flip |
| Running | HopHas it | Full jumpHas it | Crouch-slideNewShe slows to a stop | Long jumpNewNeeds a speed over 1.0 | Side flipNewShe turns and springs up |
| In the air | Feather jumpHas itCosts one feather | Robe glideHas itOnce she falls | Ground poundNewAlso folds the robe | As tap jump | |
| In the air, against a wall | Wall jumpNewFree. Before the feather jump | ClimbHas itSpends feathers. With none: wall slide New | Ground poundNew | As tap jump | |
| Ledge just out of reach | Pull-upHas itUp to 0.2 over her feet, while she presses toward it | Ground poundNew | As tap jump | ||
| Swimming | Hop outHas itOnly beside a bank | Nothing | Nothing | ||
Every move
The last column cites the framework's code for each borrowed move. Its numbers are at Mario's scale: a run of 9 and a jump of 15. Hers are about 4.5 times smaller.
| Move | Status | How it works | Feathers | Where it comes from |
|---|---|---|---|---|
| Turning | New | She speeds up at 16 per second going straight and up to 32 per second when she reverses. Turns feel sharp, and straight runs build up. | None | Player.cs:282: 25 straight, 50 reversed |
| Hop, full jump | Has it | She leaves the ground at 4. Held, she rises on lighter gravity to 0.75. Coyote time 0.1 s, buffer 0.14 s. | None | Hers: roam.js:53, roam.js:369 |
| Feather jump | Has it | A new press in the air sends her up at 5.4 and makes a ripple. This is her double jump. | 1 each | Hers: roam.js:297. The framework's only mid-air jump needs the propeller hat (Player.cs:311) |
| Robe glide | Has it | Held while she falls, the robe opens. She sinks at 0.45 and drifts at 1.8. The glider upgrade improves this to 0.32 and 2.1. | None | Hers: roam.js:85, roam.js:337. Not in the framework |
| Wall climb | Has it | Held while she pushes at a high wall, she climbs at 0.9 per second. | 0.5 per second | Hers: roam.js:349, roam.js:384. Not in the framework |
| Pull-up | Has it | She pulls herself onto a ledge up to 0.2 above her feet. | None | Hers: roam.js:264. Not in the framework |
| Crouch | New | She stops steering and slows at 3.2 per second. From a run, a long jump stays possible for about 0.2 s. | None | Player.cs:307 |
| Long jump | New | Crouch and jump at a speed over 1.0. She goes forward at 4.0, up at 4.2, on gravity 16, and keeps her speed in the air. | None | Player.cs:347: 18 forward, 12 up |
| Backflip | New | Crouch and jump while standing. She goes up at 6.65 (peak 0.92) and back at 1.0. She cannot pull up out of a flip. | None | Player.cs:356: 18 up, 5 back |
| Side flip | New | Jump while running and reversing the stick. She turns to the stick, then goes up as in a backflip, at 1.0 the new way. | None | Player.cs:368: 18 up, 5 along |
| Wall jump | New | In the air, pressed into a wall, a press within 0.15 s kicks her up at 5.4 and away at 2.0. She turns to face away. | None | Player.cs:399: 16 up, 9 away. Wall touch: Player.cs:576 |
| Wall slide | New | Falling, pressed into a wall, not climbing: she sinks no faster than 1.2. | None | Proposed here. The framework holds her to the wall but does not slow her fall |
| Ground pound | New | Crouch in the air. She hangs still for 0.2 s, then drops at 10. She stays still 0.15 s on landing, with dust and a thud. | None | Player.cs:393, Player.cs:645: hangs 0.3 s, drops at 24 |
What the change touches
prototypes/world-map/roam.js: acrouchinput, ast.movefor the move in progress, the wall she last touched, and a pound count. Speed is kept through a special move.roamGaitgains crouch, flip, long jump, pound and wall slide.src/pages/mantra-attack/worldMap/RoamControls.tsx: Shift and C crouch on foot (Shift still flies down in flight). A crouch button on touch, if chosen below.WorldMapScreen.tsxandworldMapTypes.ts: aroamCrouchcall on the map handle, next toroamJump.prototypes/world-map/world.js(the call atroamTick, the poses at line 7553) andinteriors.js:714: pass the crouch input. Flips turn her whole body, the long jump leans her forward, and the pound tucks her in. The rig'sjumpingandspin-jumpposes are the starting points.
Open decisions
Each question has a recommendation with its reason. A recommendation you do not click stays "not answered" in the export. Every question also accepts "none of these" with your own answer.