Merge branch 'master' of https://bitbucket.org/brycecovertoperations/advent
BIN
desktop/resources/behindhouse/abc.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
desktop/resources/behindhouse/house-cover copy.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
BIN
desktop/resources/outside-castle/scale-map.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
@@ -253,7 +253,7 @@
|
||||
(if (actions/has-item? entities :sword)
|
||||
(actions/talk entities :ego "I already have the Sword of Blergh!")
|
||||
(do (actions/talk entities :ego "That's the coolest sword I've ever seen!!")
|
||||
(actions/walk-to entities :ego [52 97] :face :left)
|
||||
(actions/walk-to entities :ego [45 97] :face :left)
|
||||
(actions/talk entities :ego "If I pull it out I can become a great knight!")
|
||||
(let [missing-items (set/difference #{:trophy :medal :kiss} (get-in @entities [:state :obtained-items]))
|
||||
obtained-items (set/intersection #{:trophy :medal :kiss} (get-in @entities [:state :obtained-items]))]
|
||||
@@ -303,8 +303,8 @@
|
||||
:bird-2 (utils/make-bird screen (as-> [[220 225] [195 235] [210 230] [250 225]] p
|
||||
(concat p (reverse p))))
|
||||
:sword (assoc (texture "inside-castle/sword.png")
|
||||
:x 29
|
||||
:y 108
|
||||
:x 22
|
||||
:y 110
|
||||
:baseline 95)
|
||||
:trophy (assoc (animation->texture screen trophy)
|
||||
:x 253 :y 69 :baseline 191
|
||||
|
||||
@@ -381,7 +381,7 @@
|
||||
(actions/remove-entity entities :note)
|
||||
(common/read-note-2 entities))))
|
||||
:collision "outside-castle/collision.png"
|
||||
:scale-fn (utils/scaler-fn-with-baseline 110 0.10 1.00)
|
||||
:scale-fn (utils/scaler-fn-from-image "outside-castle/scale-map.png" 0.20 1.00)
|
||||
:start-pos [310 80]
|
||||
:apply-state (fn [entities]
|
||||
(if (#{:night :sunrise} (get-in entities [:state :time]))
|
||||
|
||||