summaryrefslogtreecommitdiff
path: root/bonnie-bee/moth.scm
diff options
context:
space:
mode:
Diffstat (limited to 'bonnie-bee/moth.scm')
-rw-r--r--bonnie-bee/moth.scm10
1 files changed, 5 insertions, 5 deletions
diff --git a/bonnie-bee/moth.scm b/bonnie-bee/moth.scm
index bcd165b..ac0aa6a 100644
--- a/bonnie-bee/moth.scm
+++ b/bonnie-bee/moth.scm
@@ -10,9 +10,9 @@
#:use-module (chickadee scripting)
#:use-module (chickadee utils)
#:use-module (oop goops)
- #:use-module (starling asset)
- #:use-module (starling node)
- #:use-module (starling node-2d)
+ #:use-module (catbird asset)
+ #:use-module (catbird node)
+ #:use-module (catbird node-2d)
#:export (<moth>))
(define-class <moth> (<damageable> <actor>))
@@ -38,8 +38,8 @@
(else #f)))
(define-method (on-death (moth <moth>))
- (audio-play (asset-ref explosion-sound))
+ (audio-play (artifact explosion-sound))
(let ((p (position moth)))
- (add-particle-emitter (particles (particles (parent moth)))
+ (add-particle-emitter (particles (& (parent moth) particles))
(make-particle-emitter (make-rect (vec2-x p) (vec2-y p) 1.0 1.0)
4 3))))