diff --git a/desktop/resources/inside-house/collision.png b/desktop/resources/inside-house/collision.png index 181ae0b4..6ceb6641 100644 Binary files a/desktop/resources/inside-house/collision.png and b/desktop/resources/inside-house/collision.png differ diff --git a/desktop/resources/inside-house/sillhoute.png b/desktop/resources/inside-house/sillhoute.png index 93c1ea45..89043311 100644 Binary files a/desktop/resources/inside-house/sillhoute.png and b/desktop/resources/inside-house/sillhoute.png differ diff --git a/desktop/src-common/advent/screens/scene.clj b/desktop/src-common/advent/screens/scene.clj index db1ee811..e69f703b 100644 --- a/desktop/src-common/advent/screens/scene.clj +++ b/desktop/src-common/advent/screens/scene.clj @@ -156,9 +156,11 @@ peddler-stand (animation 0.2 (for [i (flatten [(repeat 5 0) 6])] (aget peddler-sheet 0 i)))] {:inside-house - (make-background :interactions - { - } + (make-background :interactions {:down-dir {:box [151 0 320 20] + :script (actions/get-script entities + (actions/walk-to entities :ego [237 1]) + (actions/transition-background entities :outside-house [262 88])) + :cursor :down}} :layers [(assoc (texture "inside-house/background.png") :x 0 :y 0 :baseline 0) (assoc (texture "inside-house/desk.png") :x 0 :y 0 :baseline 200) (assoc (texture "inside-house/sillhoute.png") :x 0 :y 0 :baseline 240)]