Shake screen when bomb explodes.
This commit is contained in:
parent
04b08df629
commit
d2eb41f6f3
1 changed files with 2 additions and 1 deletions
3
game.scm
3
game.scm
|
@ -319,8 +319,9 @@
|
||||||
(('receive-electron x y)
|
(('receive-electron x y)
|
||||||
(play-sound-effect audio:warp 0.25))
|
(play-sound-effect audio:warp 0.25))
|
||||||
(('explosion x y)
|
(('explosion x y)
|
||||||
|
;; TODO: Particles!
|
||||||
(play-sound-effect audio:explosion)
|
(play-sound-effect audio:explosion)
|
||||||
(pk 'BOOM!))
|
(show-effect! (make-screen-shake-effect 0.2)))
|
||||||
(_ (values)))
|
(_ (values)))
|
||||||
(lp rest))))
|
(lp rest))))
|
||||||
(update-objects!)
|
(update-objects!)
|
||||||
|
|
Loading…
Add table
Reference in a new issue