Commit graph

13 commits

Author SHA1 Message Date
tachyonwolf
df89fa4ac7 Maze-book labyrinths, sucking one-way entrances, slime movement model
- Regions are now dense labyrinths (recursive backtracker on a coarse grid,
  1-3 tile corridors, braided loops by complexity); tubes run in the rock
  between regions, wall pipes give shortcuts inside a region.
- One-way entrances suck the slime in (player.pull_into_tube); blow zone
  is now 1 tile; blown motes are white. TubeBlower -> TubeAirCurrents.
- Validator: generous "might get to" areas vs strict SlimeMoves model
  (surface slides, corners, wraps, 1-tile gaps, ceiling falls, tubes,
  forced suction/blow tiles as all-outcomes states).
- maze_check: new hand-made blow-zone and suction traps.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 16:15:23 -06:00
tachyonwolf
88c4920fde One-way tube exits blow the slime away; validator models blow zones
- 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>
2026-11-16 15:52:58 -06:00
tachyonwolf
e7ae22b8cd Add Maze mode with one-way tubes and a soft-lock check
- 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>
2026-11-16 15:45:46 -06:00
e7a773e2f4 Added camera transition between levels. 2026-11-16 13:23:51 -08:00
25ff06f642 Same pixel effects for auto pipe as manual pipe. 2026-11-12 11:27:05 -08:00
e7c2ae657f Add carryable item and wall-press pose; draw tube goo behind tiles
- Carry item (Items/): picked up on touch, rides see-through in the slime's
  center, left behind at the mouth when the slime enters a tube. Has gravity.
  Placeholder Godot icon sprite. One placed in the test level.
- Wall-press sprite (new frame 9, PressWall animation): shown when pushing
  into a wall from the floor or ceiling, into a tube mouth in a wall, or from
  a wall into a floor/ceiling mouth. Flipped/turned and shifted to sit flush.
- Ceiling corners: pushing sideways into a wall keeps the slime on the
  ceiling; holding down moves it onto the wall.
- Tubes: squeezing closes the gap to the mouth; mouths are found a frame
  ahead so climbing past one can't skip it; backing out of a wall mouth
  entered from the floor or ceiling puts the slime on the wall.
- Tube goo draws behind the tiles (shows only through the channel); the
  manual tube's leader circle stays in front.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 14:28:36 -08:00
beeebbf47e Rework manual tubes: steerable goo with a leader indicator
Manual tubes (TubeSteer):
- The slime is pulled fully into the tube on entry; tubes too short for it
  squash it to fit, with a few pixels poking out of each mouth.
- A leader slides quickly through the goo without moving it, and drags the
  goo at normal speed once past an end. At covered junctions it can turn into
  another arm, or pull into an empty branch, draining the goo from all sides.
- Only coloured pixels go in; a black outline is drawn around the goo, with
  rounded ends in the tube.
- The leader is a pulsing circle; colour, border colour and radius are set
  under "Tube Indicator" on the Player.

Tiles and level:
- Plain tube tiles are now manual, green ones automatic. Test level tubes
  repainted plain so they stay manual.

Also included (earlier work): goo tube prototype (TubeGoo, purple tiles) and a
max length for the automatic pixel stream.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 12:03:12 -08:00
32d82b4bd1 Rework manual tubes: steerable goo with a leader indicator
Manual tubes (TubeSteer):
- The slime is pulled fully into the tube on entry; tubes too short for it
  squash it to fit, with a few pixels poking out of each mouth.
- A leader slides quickly through the goo without moving it, and drags the
  goo at normal speed once past an end. At covered junctions it can turn into
  another arm, or pull into an empty branch, draining the goo from all sides.
- Only coloured pixels go in; a black outline is drawn around the goo, with
  rounded ends in the tube.
- The leader is a pulsing circle; colour, border colour and radius are set
  under "Tube Indicator" on the Player.

Tiles and level:
- Plain tube tiles are now manual, green ones automatic. Test level tubes
  repainted plain so they stay manual.

Also included (earlier work): goo tube prototype (TubeGoo, purple tiles) and a
max length for the automatic pixel stream.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 13:36:36 -08:00
d9c86a181d Prototype code for two pipes: one that requires manual movement, and one that automatically moves the player along the path. 2026-11-09 14:52:32 -08:00
f13ca3f44f Add pipe travel 2026-11-08 19:39:40 -08:00
ca6cc3a370 Undid some prototype stuff and updated player sprite and animation 2026-11-08 18:42:23 -08:00
98187b6742 Shatter into chunky physics pixels that stack
Each 2x2 block of the slime's frame (black pixels left out) is now a
rotation-locked RigidBody2D on its own layer, so the pieces bounce off the
level, get pushed by the piston and pile up on each other.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 12:09:00 -08:00
38d7e6d761 Prototype: timed piston hazard that shatters the slime into pixels
The piston winds up, slams down, holds and retracts on a timer. Catching the
slime under the head breaks its current frame into one particle per non-black
pixel, which bounce off and settle on the level. The level reloads afterwards.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 11:41:01 -08:00