Skip to content

feat: add fire that rises, flickers, and burns out - #2

Merged
chowjiaming merged 1 commit into
mainfrom
feat/fire
Aug 13, 2026
Merged

chowjiaming merged 1 commit into
mainfrom
feat/fire

Conversation

@chowjiaming

@chowjiaming chowjiaming commented Aug 13, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Add Cell::Fire: a gas that rises, carries a per-cell TTL, flicker-despawns near the end of its life, and ignites nothing yet.
  • Orange/red color ramp from remaining lifetime, plus a Fire palette button.
  • Also includes the unmerged floor-water fix from fix: let floor water slide and lock in sand/water feel #1 (step() now visits the last row so puddles on the world floor can spread).

Test plan

  • just verify (fmt, clippy, 11 unit tests, wasm-pack)
  • Paint Fire and confirm it rises, flickers, and burns out without falling
  • Paint water on the canvas floor and confirm it spreads
  • Pour sand and confirm a stable ~45° pile

Fire is a gas with a per-cell TTL. It rises into empty cells,
flicker-despawns near the end of its life, and ignites nothing yet.
@cursor

cursor Bot commented Aug 13, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@chowjiaming
chowjiaming merged commit 5c774ab into main Aug 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant