- Main menu "Maze" button opens a setup panel (width, height in screens; complexity 1-5) and generates a maze of rock chambers joined by tubes, with Start and End pads and a win panel. - New one-way tube kind: orange tiles that only let the slime in at their entrance, with motes drifting into it (OneWayTube, TubeVacuum). The auto-tube trace moved to PixelStream.trace_tube so the player and the maze validator share it. - Generation: chamber graph (spanning tree rooted at End, one-way tubes only towards End on the route, extra tubes), carved with AStarGrid2D. MazeValidator re-derives the chamber graph from the tiles and checks that End is reachable from every chamber reachable from Start. - tests/maze_check.gd: headless batch check (360 mazes) plus a known soft-lock the validator must reject. See docs/MAZE.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
971 B
971 B
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 effects (
Effects/tube_vacuum.gd): visual effects tied to tube tiles, such as motes drifting into one-way entrances. - 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 (seedocs/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.