Commit Graph
5 Commits
Author SHA1 Message Date
nico f5d16ffe64 v0.6: Actor system (rigidbody) replaces pixel player
- New actors.rs: Rigidbody Actor with gravity, grid collision, powder displacement
- Actor rendered as colored rectangle on pixel buffer (zoom-scaled)
- WASM API: spawn_actor, move_actor, update_actor, actor_x/y
- WASD/Arrow keys control actor, camera follows with soft lerp
- displace_powders pushes sand/dirt out of actor area
- Collision: stops at solids, walks through powders
- Updated AGENTS.md with actor documentation
2026-07-10 16:09:58 +02:00
nico a2700df292 v0.5: Blue sky gradient, acid rework, iron, phase transitions, shadows (experimental)
- Blue sky gradient background (y<600 blue, 600-700 gradient, y>700 dark)
- Acid system: health-based damage via acid_resist, not instant delete
- New material: Iron (ID 16) - acid-proof, heat-conductive, reflective
- Phase transitions: Iron→Lava (150°C), Sand→Glass (200°C), Glass→Lava (160°C)
- Stone no longer melts (lava containment)
- Heat transfer formula improved (divisor 255→200)
- Iron metallic texture with bright highlights + light reflection
- Shadow system attempted (grid-based, per-pixel) - reverted, needs rethink
- Updated AGENTS.md for next session
2026-07-10 14:35:35 +02:00
nico 26d5733e1e v0.4: Acid system rework + Iron material + heat conductivity
- Acid now uses acid_resist + health-based damage (not instant delete)
- Acid dissolve speeds: Wood ~2s, Dirt ~2.8s, Stone ~4.3s, Iron immune
- New material: Iron (ID 16) - silver, static, acid-proof, heat-conductive
- Iron texture: bright highlights for metallic shine
- Iron reflects light (light_block: 150)
- Iron heat_conduct: 200 - conducts heat quickly through entire block
- Improved heat transfer formula (divisor 255→200)
- Updated AGENTS.md status
- No player code (rolled back for fresh start)
2026-07-10 10:06:34 +02:00
nico 2c23216152 v0.3: Large world 4096x3072 + momentum waves + zoom-scaled lighting
- World expanded to 4096x3072 (16x area, tiled 4x4 copies)
- Active region margin increased to 200px
- Liquid momentum system (FLAG_MOMENTUM) for wave sloshing
- Zoom-at-cursor support (camera.zoomAt)
- Smoother zoom steps (0.2 per scroll tick)
- Light propagation scaled by zoom (passes & falloff)
- AGENTS.md updated with all current features
2026-07-09 12:15:52 +02:00
nico 1bce9da0c6 Initial commit: AtomicEngine v0.2
- Rust/WASM physics engine (grid, material, physics, render_buffer)
- 16 material types (stone, sand, water, wood, fire, lava, glass, ice, oil, acid, steam, spark, smoke + player placeholder)
- Fire system (fuel-based, flammability-scaled consumption, spread, smoke/sparks)
- Lighting system (emission, flood-fill propagation, glow, reflection)
- Per-material pixel texturing (wood grain, dirt specks, stone noise, flame variation)
- WebGL2 renderer with camera (WASD move, mouse wheel zoom)
- Native x86 debug binary (identical dimensions, FPS counter)
- Large world 1024x768 with active-region simulation (camera + 200px margin)
- UI material palette + FPS display
2026-07-09 11:13:39 +02:00