better steps.

This commit is contained in:
2015-02-19 16:28:24 -08:00
parent 473f4ea638
commit 2c8652691d
6 changed files with 6 additions and 5 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -245,7 +245,8 @@
:origin-x 9
:origin-y 0
:scaled true
:step-sound (sound "ego/step.ogg")
:step-sound-1 (sound "ego/step-1.ogg")
:step-sound-2 (sound "ego/step-2.ogg")
:scale-x start-scale
:scale-y start-scale
:talk-color (color 0.6 1.0 1.0 1.0)
@@ -294,10 +295,10 @@
nil))
:x (first start-pos) :y (last start-pos)
:id "ego"}
ego (assoc ego :anim-sound-frames {(get-in ego [:left :walk]) {2 :step-sound
6 :step-sound}
(get-in ego [:right :walk]) {2 :step-sound
6 :step-sound}}
ego (assoc ego :anim-sound-frames {(get-in ego [:left :walk]) {2 :step-sound-1
6 :step-sound-2}
(get-in ego [:right :walk]) {2 :step-sound-1
6 :step-sound-2}}
:anim-merges {(get-in ego [:right :shock]) {:origin-x 15}
:default {:origin-x 9}})]
(actions/start-animation screen