summaryrefslogtreecommitdiff
path: root/bonnie-bee/player.scm
diff options
context:
space:
mode:
Diffstat (limited to 'bonnie-bee/player.scm')
-rw-r--r--bonnie-bee/player.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/bonnie-bee/player.scm b/bonnie-bee/player.scm
index f990657..1a524e7 100644
--- a/bonnie-bee/player.scm
+++ b/bonnie-bee/player.scm
@@ -6,6 +6,7 @@
#:use-module (bonnie-bee flower)
#:use-module (chickadee audio)
#:use-module (chickadee game-loop)
+ #:use-module (chickadee graphics particles)
#:use-module (chickadee math)
#:use-module (chickadee math vector)
#:use-module (chickadee scripting)
@@ -116,6 +117,9 @@
(set! (pollen player) 0)
(set! (invincible? player) #t)
(audio-play (asset-ref player-death-sound))
+ (add-particle-emitter (particles (particles (parent player)))
+ (make-particle-emitter (world-hitbox player)
+ 10 5))
(run-script player
(blink player 20 (steps 5))
(set! (invincible? player) #f))))