sunrise bug fix, tweaked ending, new sfx.

This commit is contained in:
Bryce Covert
2015-11-08 08:21:48 -08:00
parent 7ebf3c3b96
commit 7677be90b0
7 changed files with 25 additions and 14 deletions

View File

@@ -657,6 +657,7 @@ void main ()
:step-sound-2 (utils/load-sound "ego/step-2.ogg")
:step-sound-3 (utils/load-sound "ego/step-3.ogg")
:step-sound-4 (utils/load-sound "ego/step-4.ogg")
:shoot-sound (utils/load-sound "ego/slingshot.ogg")
:inside-step-sound-1 (utils/load-sound "ego/inside-step-1.ogg")
:inside-step-sound-2 (utils/load-sound "ego/inside-step-2.ogg")
@@ -693,7 +694,9 @@ void main ()
(get-in ego [:right :grow] ) {1 [:grow-sound 0.75]}
(get-in ego [:left :crowbar] ) {3 [:crowbar-sound 0.5]}
(get-in ego [:right :crowbar] ) {3 [:crowbar-sound 0.5]}
(get-in ego [:right :shoot] ) {14 [:shoot-sound 0.75]}
(get-in ego [:left :shoot] ) {14 [:shoot-sound 0.75]}
(get-in ego [:left :stand]) {11 [:blink 0.15]
44 [:blink 0.15]
77 [:blink 0.15]
@@ -935,7 +938,7 @@ void main ()
(defn get-rendered [entities e]
(merge e
(when (= :night (get-in entities [:state :time]))
(when (#{:night :sunrise} (get-in entities [:state :time]))
(get-in entities [:time-profiles (:night-profile e :default)]))))