all rooms now!
This commit is contained in:
@@ -55,8 +55,9 @@
|
||||
|
||||
|
||||
(defn make [screen]
|
||||
(let [candle-flame (utils/make-anim "inside-stash/candle.png" [4 4] 0.1 (range 4))
|
||||
candle-aura (utils/make-anim "inside-house/candle-aura.png" [27 27] 0.2 [0 1 2 3 2 1] )
|
||||
(let [[screen atlas] (utils/acquire-atlas screen "packed/inside-stash.atlas")
|
||||
candle-flame (utils/make-anim atlas "candle" [4 4] 0.1 (range 4))
|
||||
candle-aura (utils/make-anim atlas "candle-aura" [27 27] 0.2 [0 1 2 3 2 1] )
|
||||
]
|
||||
(rooms/make :music {:day :secret-hideout :night :secret-hideout}
|
||||
:name "Inside stash"
|
||||
@@ -95,8 +96,8 @@
|
||||
(bust-chest entities))
|
||||
:key (actions/get-script entities
|
||||
(unlock-chest entities))}}}
|
||||
:layers [(assoc (utils/get-texture "inside-stash/background.png") :x 0 :y 0 :baseline 0 :night-profile :none)]
|
||||
:entities {:lid (assoc (utils/get-texture "inside-stash/lid.png")
|
||||
:layers [(assoc (utils/atlas->texture atlas "background") :x 0 :y 0 :baseline 0 :night-profile :none)]
|
||||
:entities {:lid (assoc (utils/atlas->texture atlas "lid")
|
||||
:x 156 :y 116 :baseline 125 :night-profile :none)
|
||||
:candle-flame (assoc (animation->texture screen candle-flame)
|
||||
:x 165 :y 135 :baseline 1
|
||||
|
||||
Reference in New Issue
Block a user