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)
|
||||
(play-sound-effect audio:warp 0.25))
|
||||
(('explosion x y)
|
||||
;; TODO: Particles!
|
||||
(play-sound-effect audio:explosion)
|
||||
(pk 'BOOM!))
|
||||
(show-effect! (make-screen-shake-effect 0.2)))
|
||||
(_ (values)))
|
||||
(lp rest))))
|
||||
(update-objects!)
|
||||
|
|
Loading…
Add table
Reference in a new issue