packing.
This commit is contained in:
@@ -43,14 +43,14 @@
|
||||
(fn [screen entities]
|
||||
(utils/setup-viewport screen 320 240)
|
||||
|
||||
(let [inputed-key (texture "inside-house/inputed-key.png")]
|
||||
{:fade (assoc (texture "black.png")
|
||||
(let [inputed-key (utils/get-texture "inside-house/inputed-key.png")]
|
||||
{:fade (assoc (utils/get-texture "black.png")
|
||||
:scale-x 80
|
||||
:scale-y 80
|
||||
:opacity 0.7
|
||||
:origin-x 0
|
||||
:origin-y 0)
|
||||
:safe (assoc (texture "inside-house/safe-screen.png") :x start-x :y start-y)
|
||||
:safe (assoc (utils/get-texture "inside-house/safe-screen.png") :x start-x :y start-y)
|
||||
:entered-keys (doall (for [i (range 5)]
|
||||
(assoc inputed-key
|
||||
:x (+ start-x 10 (* i 12))
|
||||
|
||||
Reference in New Issue
Block a user