6 Commits
Author SHA1 Message Date
popertots d325aa6488 feat: fix log fixture passthrough, improve collision, add move_direction
Fix 1 — insert_fixture now updates ChunkData bitsets:
  Log trunks (can_stand_in=false) now block movement in is_standable.
  Leaf canopy (can_stand_in=true) remains walkable.

Fix 2 — Diagonal-aware collision avoidance:
  Sidestep priority: left+forward, left, right+forward, right.
  If all blocked: push through (excuse me), advance path, apply one-step
  delay (speed-modulated recovery). Does not stack delays.

Fix 3 — Movement direction tracking:
  Ambulatory now has move_direction (Vec2) and step_history ([i16; 4]).
  TileOccupancy tracks per-tile direction hints for Stage 2 collision
  (convoy skip, E/S yield) via direction_at().
  move_direction is smoothed from: 2 historical steps, current confirmed
  step, and 2-step path lookahead.

Ignore: add *.patch and *.diff to .gitignore
2026-03-21 11:07:35 +00:00
popertots b4804bee5a fix gitignore 2026-03-21 01:37:44 +00:00
popertots c9802e6e0f gitignore 2026-03-20 17:28:41 +00:00
StephenAdamson 11ba882d54 images 2024-12-30 22:19:25 +00:00
StephenAdamson 7bab01ee74 Initial tile push with item cycle 2024-12-12 17:19:59 +00:00
popertots 5a56da91bb Initial commit 2024-12-12 17:06:53 +00:00