fertig-classic-games/assets/gamedata
Brian Fertig a5b37038d2 Add object props (solid obstacles) to Wolfenstein E1M1
Introduces a new "Object" entity type that blocks movement but not sight/bullets, distinct from walls and pickups:

- **Data**: New `objects` array in level JSON (`{x, y, frame}`), with `data/wolfenstein-objects.json` as the frame registry (Tall Bush, Gold Eagle)
- **Artwork**: New `objects.png` spritesheet registered in `wolfenstein-artwork.json`; placeholder texture via `paintObject()` in WolfensteinArt.js
- **Logic**: Objects stored in `state.objects`, with a derived `map.objectBlocked` Set checked only by movement collision (`isWallCell`) — raycaster/sight/bullets never read it, so objects are see-through and shoot-through by construction
- **View**: Rendered as billboard sprites in `_drawSprites` with ground-anchored positioning (bottom edge on floor) and asymptotic depth sorting that stays below the weapon viewmodel
- **Editor**: New "Object" tool category with dynamic dropdown; click open floor to place/remove (toggle), click wall is a no-op; teal square indicator on board
- **Validation**: `validateLevel` checks objects sit on open floor; save/load round-trips with graceful degradation for pre-existing saves
- **Tests**: Verifies object blocks player movement but bullets pass through
2026-08-22 12:29:55 -06:00
..
excitebike excitebike: playtest fixes and Wave 5 polish 2026-07-29 23:06:41 -06:00
gootower feat(gootower): add sleeping goo mechanic and redesign levels 2026-07-31 23:37:48 -06:00
peggle Level Adjustments 2026-07-12 15:52:33 -06:00
rushhour feat(rushhour): redesign level bank, procedural art, and tiered curriculum 2026-07-28 22:12:55 -06:00
superkart feat: add Advance Wars turn-based tactics game 2026-07-19 09:43:58 -06:00
wolfenstein Add object props (solid obstacles) to Wolfenstein E1M1 2026-08-22 12:29:55 -06:00
zuma feat(mastervega): leader system, bombard cap, GNN contact-gating, population rounding 2026-08-13 23:14:42 -06:00