added another screen.

This commit is contained in:
2014-09-20 00:24:25 -07:00
parent a1bd3e1e95
commit 43c74b3a79
2 changed files with 14 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View File

@@ -177,7 +177,8 @@
:up-dir {:box [60 180 224 240]
:script (actions/get-script
entities
(actions/walk-to entities :ego [137 204]))
(actions/walk-to entities :ego [137 204])
(actions/transition-background entities :cat-tree [203 1]))
:cursor :up}
:left-dir {:box [0 40 20 140]
:script (actions/get-script
@@ -231,6 +232,18 @@
:entities {}
:collision "behindhouse/collision.png"
:scale-fn (scaler-fn-with-baseline 110 0.10 1.00))
:cat-tree
(make-background :interactions
{:down-dir {:box [150 0 270 20]
:script (actions/get-script entities
(actions/walk-to entities :ego [203 1])
(actions/transition-background entities :outside-house [137 204])
(actions/walk-to entities :ego [195 140]))
:cursor :down}}
:layers [(assoc (texture "cat-tree/background.png") :x 0 :y 0 :baseline 0)]
:entities {}
:collision "cat-tree/collision.png"
:scale-fn (scaler-fn-with-baseline 110 0.10 1.20))
:outside-castle
(make-background :interactions
{:right-dir {:box [300 40 320 140]