new sounds.
This commit is contained in:
BIN
desktop/asset-work/dream/appear.ogg
Normal file
BIN
desktop/asset-work/dream/appear.ogg
Normal file
Binary file not shown.
BIN
desktop/asset-work/dream/appear.wav
Executable file → Normal file
BIN
desktop/asset-work/dream/appear.wav
Executable file → Normal file
Binary file not shown.
Binary file not shown.
@@ -504,7 +504,7 @@
|
|||||||
:path-start-time 0
|
:path-start-time 0
|
||||||
:scaled true
|
:scaled true
|
||||||
:magic-sound (utils/load-sound "dream/appear.ogg")
|
:magic-sound (utils/load-sound "dream/appear.ogg")
|
||||||
:anim-sound-frames {fairy-godfather-magic-anim {1 [:magic-sound 0.8]}}
|
:anim-sound-frames {fairy-godfather-magic-anim {1 [:magic-sound (constantly 0.5)]}}
|
||||||
:left {:walk fairy-godfather-anim
|
:left {:walk fairy-godfather-anim
|
||||||
:talk fairy-godfather-talk-anim
|
:talk fairy-godfather-talk-anim
|
||||||
:stand fairy-godfather-anim
|
:stand fairy-godfather-anim
|
||||||
|
|||||||
@@ -242,7 +242,7 @@ void main ()
|
|||||||
(when (and (not (get-in entities [:fg-actions :script-running?]))
|
(when (and (not (get-in entities [:fg-actions :script-running?]))
|
||||||
(= (get-in entities [:cursor :down-target])
|
(= (get-in entities [:cursor :down-target])
|
||||||
(or (:id interacting-entity) (:id interaction) nil)))
|
(or (:id interacting-entity) (:id interaction) nil)))
|
||||||
((or (when interacting-entity
|
((or (when (and interacting-entity (not (:cursor interaction)))
|
||||||
(do (screen! hud :on-start-script)
|
(do (screen! hud :on-start-script)
|
||||||
((:get-script interacting-entity) (get-in entities [:cursor :current]) [x y])))
|
((:get-script interacting-entity) (get-in entities [:cursor :current]) [x y])))
|
||||||
(when interaction
|
(when interaction
|
||||||
|
|||||||
Reference in New Issue
Block a user