more sounds.
This commit is contained in:
BIN
desktop/asset-work/inside-jail/open-door.ogg
Normal file
BIN
desktop/asset-work/inside-jail/open-door.ogg
Normal file
Binary file not shown.
BIN
desktop/asset-work/inside-jail/open-door.wav
Normal file
BIN
desktop/asset-work/inside-jail/open-door.wav
Normal file
Binary file not shown.
@@ -38,6 +38,5 @@ AUDIO
|
|||||||
+ jump
|
+ jump
|
||||||
+ chop wood
|
+ chop wood
|
||||||
+ step backwards creep
|
+ step backwards creep
|
||||||
+ snore
|
|
||||||
+ shoot slinger's
|
+ shoot slinger's
|
||||||
+ new music for night
|
+ new music for night
|
||||||
|
|||||||
BIN
desktop/resources/inside-jail/open-door.ogg
Normal file
BIN
desktop/resources/inside-jail/open-door.ogg
Normal file
Binary file not shown.
@@ -23,6 +23,7 @@
|
|||||||
(actions/walk-to entities :ego [174 80] :face :right)
|
(actions/walk-to entities :ego [174 80] :face :right)
|
||||||
(actions/play-animation entities :ego :reach)
|
(actions/play-animation entities :ego :reach)
|
||||||
(actions/talk entities :ego "Yes, that's it!")
|
(actions/talk entities :ego "Yes, that's it!")
|
||||||
|
(actions/play-sound entities "inside-jail/open-door.ogg" 0.5 false)
|
||||||
(actions/walk-straight-to entities :moveable-bars [65 77])
|
(actions/walk-straight-to entities :moveable-bars [65 77])
|
||||||
(actions/update-entities entities #(remove-lock %))
|
(actions/update-entities entities #(remove-lock %))
|
||||||
(actions/update-state entities #(assoc % :opened-bars? true)))
|
(actions/update-state entities #(assoc % :opened-bars? true)))
|
||||||
@@ -330,7 +331,7 @@
|
|||||||
(update-in [:room :entities :ego] #(actions/start-animation screen % :stand)))]
|
(update-in [:room :entities :ego] #(actions/start-animation screen % :stand)))]
|
||||||
((actions/get-script entities
|
((actions/get-script entities
|
||||||
(actions/stop-walking entities :ego)
|
(actions/stop-walking entities :ego)
|
||||||
(actions/play-sound entities "inside-jail/squeak.ogg" 0.3)
|
(actions/play-sound entities "inside-jail/squeak.ogg" 0.15)
|
||||||
(actions/do-dialogue entities
|
(actions/do-dialogue entities
|
||||||
:ego "Oops!"
|
:ego "Oops!"
|
||||||
:warden "Hey! What are you doing?"
|
:warden "Hey! What are you doing?"
|
||||||
|
|||||||
Reference in New Issue
Block a user