fixed issue with parallax.
BIN
desktop/asset-work/outside-castle/brush-bl.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
desktop/asset-work/outside-castle/brush-br.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 186 KiB After Width: | Height: | Size: 159 KiB |
|
Before Width: | Height: | Size: 215 KiB After Width: | Height: | Size: 243 KiB |
|
Before Width: | Height: | Size: 160 KiB After Width: | Height: | Size: 161 KiB |
|
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 75 KiB |
|
Before Width: | Height: | Size: 250 KiB After Width: | Height: | Size: 249 KiB |
|
Before Width: | Height: | Size: 85 KiB After Width: | Height: | Size: 81 KiB |
|
Before Width: | Height: | Size: 131 KiB After Width: | Height: | Size: 123 KiB |
|
Before Width: | Height: | Size: 93 KiB After Width: | Height: | Size: 90 KiB |
@@ -49,8 +49,7 @@
|
||||
:stand wizard-stand
|
||||
:disappear wizard-disappear
|
||||
:talk-angry wizard-talk-angry
|
||||
:magic-hands wizard-magic-hands
|
||||
}
|
||||
:magic-hands wizard-magic-hands}
|
||||
:anim-sound-frames {wizard-stand {11 [:blink 0.15 0.7]}
|
||||
wizard-talk {11 [:blink 0.15 0.7]
|
||||
4 [:blink 0.15 0.7]}
|
||||
|
||||
@@ -322,16 +322,11 @@
|
||||
(actions/give entities :carrot))))}}
|
||||
:flies-sound {:sound (utils/load-sound "outside-castle/flies2.ogg")
|
||||
:id nil}
|
||||
:layers {:day [(assoc (utils/get-texture "outside-castle/background.png") :x 0 :y 0 :baseline 0)
|
||||
(assoc (utils/get-texture "outside-castle/blanket.png") :x 60 :y (- 240 173) :baseline 1)
|
||||
(assoc (utils/get-texture "outside-castle/brush.png") :origin-x 0 :origin-y 0 :scale-x 1.0 :scale-y 1.0 :x 15 :y 0 :baseline 240 :parallax 1.2)
|
||||
(assoc (utils/get-texture "outside-castle/walk-behind.png") :x 0 :y 0 :baseline 69)]
|
||||
:night [(assoc (utils/get-texture "outside-castle/background.png") :x 0 :y 0 :baseline 0)
|
||||
(assoc (utils/get-texture "outside-castle/brush.png") :origin-x 0 :origin-y 0 :scale-x 1.0 :scale-y 1.0 :x 15 :y 0 :baseline 240 :parallax 1.2)
|
||||
(assoc (utils/get-texture "outside-castle/walk-behind.png") :x 0 :y 0 :baseline 69)]
|
||||
:sunrise [(assoc (utils/get-texture "outside-castle/background.png") :x 0 :y 0 :baseline 0)
|
||||
(assoc (utils/get-texture "outside-castle/brush.png") :origin-x 0 :origin-y 0 :scale-x 1.0 :scale-y 1.0 :x 15 :y 0 :baseline 240 :parallax 1.2)
|
||||
(assoc (utils/get-texture "outside-castle/walk-behind.png") :x 0 :y 0 :baseline 69)]}
|
||||
:layers [(assoc (utils/get-texture "outside-castle/background.png") :x 0 :y 0 :baseline 0)
|
||||
(assoc (utils/get-texture "outside-castle/blanket.png") :x 60 :y (- 240 173) :baseline 1)
|
||||
(assoc (utils/get-texture "outside-castle/brush-bl.png") :origin-x 25 :origin-y 20 :scale-x 1.0 :scale-y 1.0 :x 25 :y 0 :baseline 240 :parallax 1.2)
|
||||
(assoc (utils/get-texture "outside-castle/brush-br.png") :origin-x 88 :origin-y 20 :scale-x 1.0 :scale-y 1.0 :x 315 :y 0 :baseline 240 :parallax 1.2)
|
||||
(assoc (utils/get-texture "outside-castle/walk-behind.png") :x 0 :y 0 :baseline 69)]
|
||||
:entities {:peddler (actions/start-animation screen
|
||||
(assoc (utils/get-texture "outside-castle/peddler.png") :x 110 :y 90 :baseline 150 :anim nil
|
||||
:anim-sound-frames {peddler-stand {8 [:blink 0.3 0.8]
|
||||
|
||||