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

@@ -11,8 +11,6 @@ PROGRAMMING
+ Save slots? + Save slots?
+ descriptions for all items when used on self. + descriptions for all items when used on self.
+ try to have dialogue for every wrong interaction + try to have dialogue for every wrong interaction
+ Have to open curtains
+ grime on portrait
+ Dialogue frozen + Dialogue frozen
AUDIO AUDIO

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<dict>
<key>duration</key>
<real>1</real>
</dict>
<dict>
<key>duration</key>
<real>1</real>
</dict>
<dict>
<key>duration</key>
<real>1</real>
</dict>
<dict>
<key>duration</key>
<real>1</real>
</dict>
<dict>
<key>duration</key>
<real>1</real>
</dict>
<dict>
<key>duration</key>
<real>1</real>
</dict>
<dict>
<key>duration</key>
<real>1</real>
</dict>
<dict>
<key>duration</key>
<real>1</real>
</dict>
<dict>
<key>duration</key>
<real>1</real>
</dict>
<dict>
<key>duration</key>
<real>1</real>
</dict>
</array>
</plist>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.7 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

View File

@@ -31,7 +31,19 @@
(actions/talk entities :ego "Hey guys!") (actions/talk entities :ego "Hey guys!")
(actions/talk entities :warriors "Hark! Good day, young esquire.") (actions/talk entities :warriors "Hark! Good day, young esquire.")
(actions/present-choices entities (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 % {:run #(actions/respond entities %
:warriors "`Tis a tradition!" :warriors "`Tis a tradition!"
:warriors "All knights speaketh in such a manner." :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 [(aget ladder-guard-sheet 0 0)])
ladder-guard-stand (animation 0.1 [(texture "inside-cafeteria/ladder-guard-2.png")]) 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")]) 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/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) (assoc (texture "inside-cafeteria/fg.png") :x 10 :y 0 :scale-x 1.1 :scale-y 1.0 :baseline 320 :parallax 1.5)
] ]
:entities { :entities {:warriors (actions/start-animation screen (assoc (animation->texture screen warriors-stand) :x 31 :y 36 :baseline 180
:warriors (actions/start-animation screen (assoc (animation->texture screen warriors-stand) :x 8 :y 19 :baseline 180
:left {:stand (utils/flip warriors-stand) :left {:stand (utils/flip warriors-stand)
:talk (utils/flip warriors-stand)} :talk (utils/flip warriors-stand)}
@@ -204,6 +216,12 @@
(actions/do-dialogue entities :warriors (actions/do-dialogue entities :warriors
"We are warriors. We coveteth not earthly possessions.")))) "We are warriors. We coveteth not earthly possessions."))))
:stand) :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 :ladder-guard (actions/start-animation screen (assoc (animation->texture screen ladder-guard-stand) :x 180 :y 70 :baseline 170
:stand ladder-guard-stand :stand ladder-guard-stand
:talk ladder-guard-talk :talk ladder-guard-talk