- Air blows out of one-way exits: orange motes stream out (TubeAirflow, renamed from TubeVacuum, now draws intake and blow) and TubeBlower pushes the slime within 2 tiles of the mouth via player.blow_away(): knocked off walls/ceilings, lifted off the floor. - Generator: at most one one-way tube comes out in each chamber; no other mouth, Start or End inside a blow zone. - Validator (from tiles, via OneWayTube.find_exits/blow_zone): checks the same rules, so each chamber's crawlable boundary stays connected. - maze_check: also checks Start in a blow zone is rejected. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
11 lines
1,009 B
Markdown
11 lines
1,009 B
Markdown
# Components
|
|
|
|
- Player (`Characters/player.gd`): the slime: crawling on any surface, hops, bridges, edge wraps, going into tubes.
|
|
- Tubes (`Effects/`): tiles the slime squeezes through. Kinds: auto (`PixelStream`), manual (`TubeSteer`), goo (`TubeGoo`), one-way (`OneWayTube`, an auto tube with one entrance).
|
|
- Tube air (`Effects/tube_airflow.gd`, `Effects/tube_blower.gd`): air through one-way tubes: motes in and out, and the blow that knocks the slime away from exits.
|
|
- Room camera (`Levels/room_camera.gd`): screen-by-screen camera that cuts between 640x480 rooms.
|
|
- Maze generation (`Levels/Maze/`): builds, validates and plays random tube mazes (see `docs/MAZE.md`).
|
|
- Screens and transitions (`Autoloads/pixel_screen.gd`, `Autoloads/transition.gd`): the 640x480 pixel screen and the dissolve between scenes.
|
|
- Settings (`Autoloads/settings.gd`): saved key bindings and volumes.
|
|
- Menus (`UI/`): main menu, options, pause, maze setup.
|
|
- Carry items (`Items/`): things the slime can pick up and carry.
|