updated knight imagery.

This commit is contained in:
2015-09-05 13:29:05 -07:00
parent 9740b37f38
commit 48e934eda9
18 changed files with 68 additions and 6 deletions

View File

@@ -31,7 +31,19 @@
(actions/talk entities :ego "Hey guys!")
(actions/talk entities :warriors "Hark! Good day, young esquire.")
(actions/present-choices entities
{:choices ["Why dost thou speaketh in this manner?"
{:choices ["Can I have some of your food?"
{:run #(actions/respond entities %
:warriors "Verily I say unto you: no."
:warriors "We art filled with hunger."
:warriors "And we musteth replentish our strength."
:warriors "Get ye your own food!")
:choices actions/previous-choices}
"Shouldn't you be guarding something?"
{:run #(actions/respond entities %
:warriors "Even the mightiest of knights musteth replentish their strength."
:warriors "And geteth some R and R.")
:choices actions/previous-choices}
"Why dost thou speaketh in this manner?"
{:run #(actions/respond entities %
:warriors "`Tis a tradition!"
:warriors "All knights speaketh in such a manner."
@@ -160,7 +172,8 @@
#_#_ladder-guard-stand (animation 0.1 [(aget ladder-guard-sheet 0 0)])
ladder-guard-stand (animation 0.1 [(texture "inside-cafeteria/ladder-guard-2.png")])
ladder-guard-talk (animation 0.1 [ (texture "inside-cafeteria/ladder-guard-2.png")])
warriors-stand (utils/make-anim "inside-cafeteria/knights-stand.png" [74 97] 0.6 (take 100 (repeatedly #(rand-int 10))))
warriors-stand (utils/make-anim "inside-cafeteria/knights-stand.png" [49 80] 0.6 (take 100 (repeatedly #(rand-int 10))))
knight-a-stand (utils/make-anim "inside-cafeteria/knight-a.png" [70 85] 0.2 (flatten [(repeat 3 [(repeat 7 0) (repeat 7 1) (repeat 7 0) (repeat 7 2)]) [3 4 5 6 7 8 9]]))
@@ -188,8 +201,7 @@
(assoc (texture "inside-cafeteria/glow.png") :y 0 :baseline 240 :additive? true :opacity 0.3)
(assoc (texture "inside-cafeteria/fg.png") :x 10 :y 0 :scale-x 1.1 :scale-y 1.0 :baseline 320 :parallax 1.5)
]
:entities {
:warriors (actions/start-animation screen (assoc (animation->texture screen warriors-stand) :x 8 :y 19 :baseline 180
:entities {:warriors (actions/start-animation screen (assoc (animation->texture screen warriors-stand) :x 31 :y 36 :baseline 180
:left {:stand (utils/flip warriors-stand)
:talk (utils/flip warriors-stand)}
@@ -204,6 +216,12 @@
(actions/do-dialogue entities :warriors
"We are warriors. We coveteth not earthly possessions."))))
:stand)
:knight-a (assoc (animation->texture screen knight-a-stand)
:x 0 :y 21 :baseline 181
:anim knight-a-stand
:anim-start 0
:talk knight-a-stand
:stand knight-a-stand)
:ladder-guard (actions/start-animation screen (assoc (animation->texture screen ladder-guard-stand) :x 180 :y 70 :baseline 170
:stand ladder-guard-stand
:talk ladder-guard-talk