Add bombs and explodable bricks

This commit is contained in:
Juliana Sims 2024-05-24 12:46:15 -04:00
parent 23f034a868
commit feb5b8f3d6
No known key found for this signature in database
GPG key ID: 2A00BD4B0090029E
6 changed files with 86 additions and 2 deletions

View file

@ -98,6 +98,8 @@
(bytevector-u8-ref objects (+ i 3)))))
(16 (spawn ^switched-emitter x y
(bytevector-u8-ref objects (+ i 3))))
(17 (spawn ^bomb x y))
(18 (spawn ^brick x y))
(id (error "invalid level object" id))))
(i* (+ i (match id
;; floor-switch