more sounds.
This commit is contained in:
BIN
desktop/asset-work/space/shock-short.ogg
Normal file
BIN
desktop/asset-work/space/shock-short.ogg
Normal file
Binary file not shown.
BIN
desktop/asset-work/space/shock-short.wav
Normal file
BIN
desktop/asset-work/space/shock-short.wav
Normal file
Binary file not shown.
BIN
desktop/asset-work/space/shock.ogg
Normal file
BIN
desktop/asset-work/space/shock.ogg
Normal file
Binary file not shown.
Binary file not shown.
BIN
desktop/resources/space/shock-short.ogg
Normal file
BIN
desktop/resources/space/shock-short.ogg
Normal file
Binary file not shown.
Binary file not shown.
@@ -35,7 +35,7 @@
|
|||||||
(not (get-in entities [:state :blergh-dead?]))
|
(not (get-in entities [:state :blergh-dead?]))
|
||||||
(actions/has-item? entities :magic-slingshot))
|
(actions/has-item? entities :magic-slingshot))
|
||||||
((actions/get-script entities
|
((actions/get-script entities
|
||||||
(actions/play-sound entities :shock 0.25 :wait? false)
|
(actions/play-sound entities :shock-short 0.25 :wait? false)
|
||||||
(actions/play-animation entities :bloodclot-head :shoot :stop? false)
|
(actions/play-animation entities :bloodclot-head :shoot :stop? false)
|
||||||
(actions/update-entity entities :lightning #(assoc % :opacity 1.0))
|
(actions/update-entity entities :lightning #(assoc % :opacity 1.0))
|
||||||
(actions/begin-animation entities :bloodclot-head :keep-shoot)
|
(actions/begin-animation entities :bloodclot-head :keep-shoot)
|
||||||
@@ -197,6 +197,7 @@
|
|||||||
(rooms/make :music :fight
|
(rooms/make :music :fight
|
||||||
:name "Duel"
|
:name "Duel"
|
||||||
:sounds {:shock (utils/load-sound "space/shock.ogg")
|
:sounds {:shock (utils/load-sound "space/shock.ogg")
|
||||||
|
:shock-short (utils/load-sound "space/shock-short.ogg")
|
||||||
:jump (utils/load-sound "space/jump.ogg")
|
:jump (utils/load-sound "space/jump.ogg")
|
||||||
:swing-sword (utils/load-sound "space/swingsword.ogg")}
|
:swing-sword (utils/load-sound "space/swingsword.ogg")}
|
||||||
:interactions
|
:interactions
|
||||||
@@ -270,7 +271,7 @@
|
|||||||
(actions/do-dialogue entities :bloodclot-head "Ha ha ha! Is that the best you can do?"
|
(actions/do-dialogue entities :bloodclot-head "Ha ha ha! Is that the best you can do?"
|
||||||
:bloodclot-head "Take this!")
|
:bloodclot-head "Take this!")
|
||||||
|
|
||||||
(actions/play-sound entities :shock 0.25 :wait? false)
|
(actions/play-sound entities :shock 0.7 :wait? false)
|
||||||
|
|
||||||
(actions/play-animation entities :bloodclot-head :shoot :stop? false)
|
(actions/play-animation entities :bloodclot-head :shoot :stop? false)
|
||||||
(actions/begin-animation entities :bloodclot-head :keep-shoot)
|
(actions/begin-animation entities :bloodclot-head :keep-shoot)
|
||||||
|
|||||||
Reference in New Issue
Block a user