slightly better transitions.

This commit is contained in:
2014-12-13 14:14:31 -08:00
parent 88fdda4084
commit ec21444268
5 changed files with 16 additions and 8 deletions

View File

@@ -153,7 +153,10 @@
:script (actions/get-script
entities
(actions/walk-to entities :ego [0 80])
(actions/transition-background entities :outside-castle [310 80]))
(actions/walk-straight-to entities :ego [-20 80])
(actions/transition-background entities :outside-castle [330 80])
(actions/walk-straight-to entities :ego [310 80])
)
:cursor :left}}
:layers [(assoc (texture "bg5.png") :x 0 :y 0 :baseline 0)
(assoc (texture "house.png") :x 0 :y 0 :baseline 122)
@@ -223,4 +226,4 @@
(if (get-in entities [:state :coaxed-sheep?])
(update-in entities [:room :entities :sheep] #(assoc % :x 95 :y 150 :baseline 40))
entities)))
:start-pos [0 80])))
:start-pos [30 80])))