working on fight.

This commit is contained in:
Bryce Covert
2018-01-23 20:12:55 -08:00
parent dc35617281
commit 2257276b97
27 changed files with 434 additions and 325 deletions

View File

@@ -519,8 +519,9 @@
love (utils/make-anim-seq global-atlas "ego/love" [50 70] 0.1 (flatten [0 0 1 1 2 2 3 3 4 4 5 5 6 6 (repeat 10 7) (repeat 5 8) (repeat 5 7) (repeat 5 8) (repeat 5 7) (repeat 10 [23 24 25 24]) (repeat 30 9) 10 11 12 13 14 15 16 17 18 19 20 21 21 21 22 22 22 21 21 21 21 21 21 21 21 22 22 22 22 22 21 21 21 21 22 22 22 22 22 22 21 21 21 21 21 6 6 5 5 4 4 3 3 2 2 1 1 0]))
whistle (utils/make-anim-seq global-atlas "ego/whistle" [18 36] 0.2 (flatten [0 1 1 (repeat 200 [2 3])]))
axe (utils/make-anim global-atlas "ego/axe" [60 70] 0.10 (flatten [1 1 1 1 1 0 0 0 1 1 1 1 1 0 0 0 0 (range 7)]))
tongue-windup (utils/make-anim-seq global-atlas "ego/tongue-stance" [119 134] 0.05 [0 1 2 2 2 2 2 2 2 2])
tongue-windup (utils/make-anim-seq global-atlas "ego/tongue-stance" [119 134] 0.05 [0 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2])
tongue-swing (utils/make-anim-seq global-atlas "ego/tongue-stance" [119 134] 0.12 [ 3 4 5 6 ])
tongue-hit (utils/make-anim-seq global-atlas "ego/tongue-hit" [119 134] 0.12 [0 1 2 2 2 2 3])
tongue-idle (utils/make-anim-seq global-atlas "ego/tongue-idle" [119 134] 0.7 [0 1])
axe-wood (utils/make-anim global-atlas "ego/axe-wood" [60 70] 0.10 (flatten [1 1 1 1 1 0 0 0 1 1 1 1 1 0 0 0 0 (range 11)]))
suspended (utils/make-anim global-atlas "ego/suspended" [20 36] 0.10 [0])
@@ -561,6 +562,7 @@
:reach-start reach-start
:jump jump
:tongue-swing tongue-swing
:tongue-hit tongue-hit
:tongue-windup tongue-windup
:tongue-idle tongue-idle
:jump-straight jump-straight
@@ -623,6 +625,7 @@
:reach-start (utils/flip reach-start)
:jump-straight (utils/flip jump-straight)
:tongue-swing tongue-swing
:tongue-hit tongue-hit
:tongue-windup tongue-windup
:tongue-idle tongue-idle
:jumping-straight (utils/flip jumping-straight)
@@ -750,6 +753,7 @@
(get-in ego [:left :jump-straight]) {:origin-x 9}
(get-in ego [:right :jump-straight]) {:origin-x 9}
(get-in ego [:left :tongue-swing]) {:origin-x 41 :origin-y 15}
(get-in ego [:left :tongue-hit]) {:origin-x 41 :origin-y 15}
(get-in ego [:left :tongue-windup]) {:origin-x 41 :origin-y 15}
(get-in ego [:left :tongue-idle]) {:origin-x 41 :origin-y 15}