final tweaks on puzzle.

This commit is contained in:
2015-09-04 23:00:48 -07:00
parent 967bc8f6a5
commit c268e683f2
3 changed files with 13 additions and 9 deletions

View File

@@ -102,7 +102,7 @@
:night-profile :sprite
:scale-x 1.4
:scale-y 1.4
:talk-color (color 0.6 0.2 0.6 1.0)
:talk-color common/frankie-color
:talk talk
:flex flex
:stand stand
@@ -215,6 +215,7 @@
(defn attempt-walking-through-gate [entities]
(actions/walk-to entities :ego [157 83] :skip-type :end)
(actions/walk-straight-to entities :ego [100 83])
(actions/transition-background entities :inside-castle [280 145])
(actions/walk-to entities :ego [245 90] :skip-type :end))
@@ -251,8 +252,6 @@
:script (actions/get-script entities (attempt-walking-through-gate entities))
:cursor :left}
:big-tree {:box [20 10 82 235]
:scripts {:walkie-talkies (actions/get-script entities (drop-walkie-talkie entities))}}
:window {:box [192 157 215 215]
:script (actions/get-script entities
(actions/talk entities :ego "That's a big window!"))
@@ -269,8 +268,10 @@
(Thread/sleep 2000)
(actions/walk-straight-to entities :ego [285 71]))}}}
:layers {:day [(assoc (texture "castle-gate/background.png") :x 0 :y 0 :baseline 0)]
:night [(assoc (texture "castle-gate/background.png") :x 0 :y 0 :baseline 0)]}
:layers {:day [(assoc (texture "castle-gate/background.png") :x 0 :y 0 :baseline 0)
(assoc (texture "castle-gate/overlay.png") :x 0 :y 0 :baseline 240)]
:night [(assoc (texture "castle-gate/background.png") :x 0 :y 0 :baseline 0)
(assoc (texture "castle-gate/overlay.png") :x 0 :y 0 :baseline 240)]}
:entities {:frankie (make-frankie screen)
:goon-1 (make-goon-1 screen)
:goon-2 (make-goon-2 screen)