flexing frankie.

This commit is contained in:
Bryce Covert
2015-07-30 18:03:04 -07:00
parent 51d6325391
commit f238d9ebf6
7 changed files with 18 additions and 2 deletions

View File

@@ -79,7 +79,8 @@
talk (utils/make-anim "castle-gate/frankie.png" [24 35] 0.2 [2 0 2 0 2 0 2 0 0 1 0])
laugh (utils/make-anim "castle-gate/frankie.png" [24 35] 0.1 [1 3 4 3 4 3 4 3 4 3 4 3 4 1 0])
glance (utils/make-anim "castle-gate/frankie.png" [24 35] 0.25 [0 6 0 6 5 5 5 6 7 7 7 6 ])
reach (utils/make-anim "castle-gate/frankie.png" [24 35] 0.2 [0 8 9 9 9 9 8])]
reach (utils/make-anim "castle-gate/frankie.png" [24 35] 0.2 [0 8 9 9 9 9 8])
flex (utils/make-anim "castle-gate/frankie.png" [24 35] 0.2 [0 10 11 12 12 12 12 11 10])]
(assoc (animation->texture screen stand)
:x 235 :y 90 :baseline 150
:origin-x 12
@@ -91,6 +92,7 @@
:scale-y 1.4
:talk-color (color 0.6 0.2 0.6 1.0)
:talk talk
:flex flex
:stand stand
:laugh laugh
:glance glance

View File

@@ -190,7 +190,9 @@
:ego "Uh, oh. Frankie Rockfist!"
:ego "Listen, I don't want any trouble."
:frankie "Well you found it tonight, Dipstick."
:frankie "Am I right boys?")
)
(actions/play-animation entities :frankie :flex)
(actions/talk entities :frankie "Am I right boys?")
(actions/play-animation entities :frankie :glance)
(actions/do-dialogue entities :frankie "You looking for another beat down Dipstick?")
(actions/play-animation entities :frankie :laugh)