feat(dungeon): draw levels with graphics.dat's magic-map chips #40

Merged
jqueuniet merged 1 commit from feat/dungeon-chips into main 2026-10-30 10:43:55 +01:00
Owner

Closes #37

  • A graphics.dat picked with the dungeon.dat, or dropped on it later, draws each cell with the layers from dm2-tools' chip report: stacked, flipped where mirrored, animated at the reported period (teleporters: 4 frames, 536 ms). A mismatched or second graphics.dat is refused.
  • Rune layers (creatures, items, reveal) are left for #38.
  • Zoom ×2 to ×4, whole pixels. Without graphics.dat, flat colours and legend stay.
  • Matches dm2-tools' own level PNGs. Differences from the DMDC2 atlas are in the chip data: jqueuniet/dm2-tools#422 (level 1 grass), jqueuniet/dm2-tools#423 (solid rock fill).
Closes #37 - A `graphics.dat` picked with the `dungeon.dat`, or dropped on it later, draws each cell with the layers from dm2-tools' chip report: stacked, flipped where mirrored, animated at the reported period (teleporters: 4 frames, 536 ms). A mismatched or second `graphics.dat` is refused. - Rune layers (creatures, items, reveal) are left for #38. - Zoom ×2 to ×4, whole pixels. Without `graphics.dat`, flat colours and legend stay. - Matches dm2-tools' own level PNGs. Differences from the DMDC2 atlas are in the chip data: jqueuniet/dm2-tools#422 (level 1 grass), jqueuniet/dm2-tools#423 (solid rock fill).
feat(dungeon): draw levels with graphics.dat's magic-map chips
All checks were successful
Deploy / build (push) Successful in 9s
Deploy / publish-image (push) Successful in 22s
Deploy / release (push) Has been skipped
c8d4ae0b64
Layers from dm2-tools' chip report, stacked per cell, mirrored and
animated in CSS; runes stay for #38. graphics.dat comes with the
dungeon.dat or later. Zoom ×2 to ×4.

Closes #37
jqueuniet deleted branch feat/dungeon-chips 2026-10-30 10:43:55 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jqueuniet/dm2-web-editor!40
No description provided.