anim for reaching
This commit is contained in:
@@ -75,13 +75,14 @@
|
||||
|
||||
|
||||
(defn make-frankie [screen]
|
||||
(let [stand (utils/make-anim "castle-gate/frankie.png" [48 35] 0.19 [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1])
|
||||
talk (utils/make-anim "castle-gate/frankie.png" [48 35] 0.2 [2 0 2 0 2 0 2 0 0 1 0])
|
||||
laugh (utils/make-anim "castle-gate/frankie.png" [48 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" [48 35] 0.25 [0 6 0 6 5 5 5 6 7 7 7 6 ])]
|
||||
(let [stand (utils/make-anim "castle-gate/frankie.png" [24 35] 0.19 [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1])
|
||||
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])]
|
||||
(assoc (animation->texture screen stand)
|
||||
:x 235 :y 90 :baseline 150
|
||||
:origin-x 24
|
||||
:origin-x 12
|
||||
:origin-y 0
|
||||
:anim stand
|
||||
:anim-start 0
|
||||
@@ -93,6 +94,7 @@
|
||||
:stand stand
|
||||
:laugh laugh
|
||||
:glance glance
|
||||
:reach reach
|
||||
:script (actions/get-script entities
|
||||
(walk-to-frankie entities)
|
||||
(actions/talk entities :ego "Listen, Frankie...")
|
||||
|
||||
@@ -205,13 +205,17 @@
|
||||
:frankie "Now.")
|
||||
(actions/walk-straight-to entities :ego [254 80])
|
||||
(actions/do-dialogue entities
|
||||
:frankie "Now what have we got to give us today, Dipstick?"
|
||||
:frankie "Now what have we got to give us today, Dipstick?")
|
||||
(actions/play-animation entities :frankie :reach)
|
||||
(actions/do-dialogue entities
|
||||
:frankie "A strength potion, oh very nice!"
|
||||
:frankie "And some gold..."
|
||||
:frankie "And what's this?"
|
||||
:frankie "And what's this?")
|
||||
(actions/play-animation entities :frankie :reach)
|
||||
(actions/do-dialogue entities
|
||||
:frankie "The Slinger's Shot?"
|
||||
:ego "No, not the Slinger's Shot!"
|
||||
:frankie "Look like we hit the jackpot tonight boys!")
|
||||
:frankie "Look like we hit the jackpot tonight boys!")
|
||||
(frankie-comment-on-item entities)
|
||||
(actions/do-dialogue entities
|
||||
:frankie "Bubba, put this stuff in the secret stash."
|
||||
|
||||
Reference in New Issue
Block a user