scaling.
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
BIN
desktop/resources/outside-castle/scale-map.png
Normal file
BIN
desktop/resources/outside-castle/scale-map.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
@@ -381,7 +381,7 @@
|
|||||||
(actions/remove-entity entities :note)
|
(actions/remove-entity entities :note)
|
||||||
(common/read-note-2 entities))))
|
(common/read-note-2 entities))))
|
||||||
:collision "outside-castle/collision.png"
|
: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]
|
:start-pos [310 80]
|
||||||
:apply-state (fn [entities]
|
:apply-state (fn [entities]
|
||||||
(if (#{:night :sunrise} (get-in entities [:state :time]))
|
(if (#{:night :sunrise} (get-in entities [:state :time]))
|
||||||
|
|||||||
Reference in New Issue
Block a user