parallax scrolling used elsewhere.
This commit is contained in:
@@ -164,7 +164,8 @@
|
||||
(actions/walk-to entities :ego [126 80]))
|
||||
:cursor :right}
|
||||
}
|
||||
:layers [(assoc (texture "inside-cafeteria/background.png") :x 0 :y 0 :baseline 0)]
|
||||
:layers [(assoc (texture "inside-cafeteria/background.png") :x 0 :y 0 :baseline 0)
|
||||
(assoc (texture "inside-cafeteria/fg.png") :x 10 :y 0 :scale-x 1.1 :scale-y 1.0 :baseline 320 :parallax 1.5)]
|
||||
:entities {
|
||||
:warriors (actions/start-animation screen (assoc (animation->texture screen warriors-stand) :x 8 :y 19 :baseline 180
|
||||
|
||||
|
||||
Reference in New Issue
Block a user