door sounds.

This commit is contained in:
2014-12-13 14:34:42 -08:00
parent ec21444268
commit 97397c25df
4 changed files with 2 additions and 0 deletions

BIN
desktop/resources/door.ogg Normal file

Binary file not shown.

BIN
desktop/resources/door.wav Normal file

Binary file not shown.

View File

@@ -150,6 +150,7 @@
:cursor :up
:script (actions/get-script entities
(actions/walk-to entities :ego [182 90] :face :left)
(sound! (sound "door.ogg") :play)
(actions/play-animation entities :ego :reach)
(actions/transition-background entities :inside-antique [228 -30])
(actions/walk-straight-to entities :ego [222 15] :face :left))}

View File

@@ -128,6 +128,7 @@
entities
(actions/walk-to entities :ego [267 90])
(actions/talk entities :ego (str "Anyone home?"))
(sound! (sound "door.ogg") :play)
(actions/play-animation entities :ego :reach)
(actions/transition-background entities :inside-house [237 0])
(if (get-in @entities [:state :convinced-wizard?])