parallax scrolling used elsewhere.
This commit is contained in:
@@ -47,7 +47,9 @@
|
||||
:ego "It's hard to make out from this angle.")))}}
|
||||
:layers {:day [(assoc (texture "behindhouse/background.png") :x 0 :y 0 :baseline 0)
|
||||
(assoc (texture "behindhouse/house.png") :x 0 :y 0 :baseline 122)
|
||||
(assoc (texture "behindhouse/brush.png") :x 0 :y 0 :baseline 240)]
|
||||
(assoc (texture "behindhouse/brush.png") :x 0 :y 0 :baseline 240)
|
||||
(assoc (texture "behindhouse/fgleft.png") :x -10 :y 0 :baseline 240 :parallax 1.5)
|
||||
(assoc (texture "behindhouse/fg2.png") :x (- 320 122) :y 0 :baseline 240 :parallax 1.5)]
|
||||
:night [(assoc (texture "behindhouse/background-dark.png") :x 0 :y 0 :baseline 0)
|
||||
(assoc (texture "behindhouse/house-dark.png") :x 0 :y 0 :baseline 122)
|
||||
(assoc (texture "behindhouse/brush-dark.png") :x 0 :y 0 :baseline 240)]}
|
||||
|
||||
Reference in New Issue
Block a user