blergh can appear.
This commit is contained in:
@@ -27,7 +27,8 @@
|
||||
blergh-flex (texture "space/blergh-flex.png")
|
||||
blergh-talk-anim (animation 0.3 [blergh-talk blergh-stand])
|
||||
blergh-stand-anim (animation 0.7 [blergh-flex blergh-stand])
|
||||
blergh-swing (utils/make-anim "space/blergh-swing.png" [106 165] 0.1 [0 0 1 2 3 4 ])]
|
||||
blergh-swing (utils/make-anim "space/blergh-swing.png" [106 165] 0.1 [0 0 1 2 3 4 ])
|
||||
blergh-appear (utils/make-anim "space/blergh-appear.png" [106 165] 0.05 (flatten [(range 10) 9 9 9 9 9 9 9 9 9 ]))]
|
||||
(rooms/make :music :town-1
|
||||
:interactions
|
||||
{}
|
||||
@@ -39,7 +40,8 @@
|
||||
:anim blergh-stand-anim :anim-start 0
|
||||
:stand blergh-stand-anim :talk blergh-talk-anim
|
||||
:swing blergh-swing
|
||||
:script (actions/get-script entities (actions/do-dialogue entities :blergh "Come on! Try and hit me!"))
|
||||
:appear blergh-appear
|
||||
:script (actions/get-script entities (actions/play-animation entities :blergh :appear :stop? false) (actions/do-dialogue entities :blergh "Come on! Try and hit me!"))
|
||||
:scripts {:sword (actions/get-script entities
|
||||
(actions/walk-straight-to entities :ego [205 45])
|
||||
(actions/play-animation entities :ego :swing)
|
||||
|
||||
Reference in New Issue
Block a user