safe looks correct now.

This commit is contained in:
Bryce Covert
2016-02-15 07:46:17 -08:00
parent de4f517783
commit fd9ff02d5d
13 changed files with 1474 additions and 1474 deletions

View File

@@ -129,7 +129,7 @@
{:run #(actions/do-dialogue entities :ego %)}]}))
(defn make [screen]
(let [safelock-sheet (texture! (utils/get-texture "inside-house/safe-lock.png") :split 9 2)
(let [safelock-sheet (texture! (utils/get-texture "inside-house/safe-lock.png") :split 11 6)
safe-lock (animation 0.1 (for [i (flatten [(repeat 20 0) 1 2 1 2 1 2 1 2 1 2 1 1 2 1 2 1 2 1 2 1 2 1 (range 3 20) 20 20 20 20 21 21 21 21 21 20 20 21 21 21 21 21 20 20 20 ])]
(aget safelock-sheet 0 i)))
candle (utils/make-anim "inside-house/candle.png" [34 32] 0.2 [1 0 1 2])
@@ -194,7 +194,7 @@
(actions/get-script entities
(actions/do-dialogue entities
:wizard "No thank you.")))})
:safe-lock (actions/start-animation screen (assoc (animation->texture screen safe-lock) :x 51 :y 95 :baseline 145
:safe-lock (actions/start-animation screen (assoc (animation->texture screen safe-lock) :x 50 :y 93 :baseline 145
:stand safe-lock)
:stand)
:candle (assoc (animation->texture screen candle)