dialogue colors for each person.

This commit is contained in:
2014-12-16 12:17:49 -08:00
parent 6a8191f49a
commit 72d2b10574
10 changed files with 112 additions and 267 deletions

View File

@@ -169,7 +169,9 @@
:layers [(assoc (texture "outside-castle/background.png") :x 0 :y 0 :baseline 0)]
:entities {:peddler (actions/start-animation screen
(assoc (texture "outside-castle/peddler.png") :x 110 :y 90 :baseline 150 :anim nil
:talk peddler-talk :stand peddler-stand)
:talk peddler-talk :stand peddler-stand
:talk-color (color 1.0 0.9 0.4 1.0))
:stand)
:steer (actions/start-animation screen (assoc (animation->texture screen steer-stand) :x 203 :y 155 :baseline 80
:stand steer-stand
@@ -184,7 +186,8 @@
(actions/play-animation entities :ego :reach)
(actions/remove-item entities :grass)
(actions/talk entities :ego "Eww! He slobbered on my hand.")
(actions/give entities :slobber))})
(actions/give entities :slobber))}
)
:stand)
:balloons (actions/start-animation screen
(assoc (animation->texture screen balloon-stand)