water splashes.

This commit is contained in:
Bryce Covert
2015-10-27 21:25:04 -07:00
parent 9f34bfc949
commit 813715069a
2 changed files with 15 additions and 6 deletions

View File

@@ -96,6 +96,7 @@
(actions/walk-to entities :ego [141 90] :face :right)
(actions/play-animation entities :ego :reach)
(actions/remove-item entities :money)
(actions/play-sound entities "outsidehouse/drop.ogg" 0.2)
(actions/camera-shake entities 2)
(Thread/sleep 500)
(actions/talk entities :ego "I guess that's what you could call 'money in the pot'."))
@@ -107,6 +108,7 @@
(dawn-fade entities)
(actions/talk entities :ego "Here goes!")
(actions/play-animation entities :ego :reach-start :stop? false)
(actions/play-sound entities "outsidehouse/drop.ogg" 0.2)
(actions/camera-shake entities 12)
(magic entities)
@@ -141,6 +143,7 @@
(actions/walk-to entities :ego [141 90] :face :right)
(actions/play-animation entities :ego :reach)
(actions/remove-item entities :broken-clock)
(actions/play-sound entities "outsidehouse/drop.ogg" 0.2)
(actions/camera-shake entities 2)
(Thread/sleep 500)
(actions/talk entities :ego "Just in the nick of time."))
@@ -155,6 +158,7 @@
(actions/walk-to entities :ego [141 90] :face :right)
(actions/play-animation entities :ego :reach)
(actions/remove-item entities :spell-component)
(actions/play-sound entities "outsidehouse/drop.ogg" 0.2)
(actions/camera-shake entities 2)
(Thread/sleep 500)
(actions/talk entities :ego "I poured it in. Now what?"))
@@ -514,7 +518,7 @@
(update-in entities [:room :entities] #(assoc % :cauldron (get-in entities [:room :cauldron])))
(utils/play-sound! screen entities
(get-in entities [:room :cauldron-sound :sound])
(utils/sourced-volume-fn :cauldron 0.1 [139 73])
(utils/sourced-volume-fn :cauldron 0.075 [139 73])
(utils/get-sound-pan 139)
:loop)
(add-wizard-if-necessary entities)