summaryrefslogtreecommitdiff
path: root/bonnie-bee/player.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson@vistahigherlearning.com>2021-10-24 11:53:05 -0400
committerDavid Thompson <dthompson@vistahigherlearning.com>2021-10-24 11:53:05 -0400
commit9523f936cf6f761ccc6127546540580cb57f9a5f (patch)
tree895b333dd0c07c1a94cff80f3fd2227dfd46437e /bonnie-bee/player.scm
parent7e76d1c2005435c412ff96bf3e0f0f6be12c22c5 (diff)
Preparing for release!
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))))