Sandbox Physics
A 2D pixel-physics engine inspired by Noita and Simulario. 19 materials with thermal modeling, phase transitions, structural integrity simulation, and force-based explosions. Built as the destruction backend for INCOMING.
Materials
19 materials with realistic physical behavior: sand, water, stone, wood, oil, lava, steam, acid, gunpowder, napalm, ice, glass, metal, embers, clone, void, and more. Each has unique thermal properties, density, and interaction rules.
Physics Systems
- Thermal Model — Heat diffusion between adjacent cells, material-specific conductivity, phase transitions (ice melts to water, water boils to steam, wood ignites)
- Phase Transitions — State changes driven by temperature thresholds. Lava cools to stone, water freezes to ice, metal melts at extreme heat.
- Force Explosions — Radial force propagation that displaces materials, ignites flammables, and shatters rigid structures
- Gas Dynamics — Buoyant gases rise, heavier gases sink, gas ignition creates expanding fireballs
- Structural Integrity (Phase 2) — Connected-component analysis for rigid structures. Unsupported segments collapse under gravity.
INCOMING Integration
The physics engine serves as the destruction backend for INCOMING — a revisionist Missile Command where the player is the attacker. Cities are built from pixel-scale structures (concrete, steel, glass, wood) that crumble realistically under missile impacts. Every strike plays out differently through emergent physics rather than scripted damage.