packing.
This commit is contained in:
@@ -89,7 +89,7 @@
|
||||
|
||||
(sound! (sound "space/jump.ogg") :play (utils/current-sound-volume))
|
||||
(-> entities
|
||||
(assoc-in [:room :entities :cloud] (assoc (texture "space/cloud.png")
|
||||
(assoc-in [:room :entities :cloud] (assoc (utils/get-texture "space/cloud.png")
|
||||
:x (- (get-in entities [:room :entities :ego :x]) 10)
|
||||
:y (get-in entities [:room :entities :ego :y])
|
||||
:origin-x 7
|
||||
@@ -188,13 +188,13 @@
|
||||
(rooms/make :music :fight
|
||||
:interactions
|
||||
{}
|
||||
:layers [(assoc (texture "space/background.png") :x 0 :y 0 :baseline 0)]
|
||||
:layers [(assoc (utils/get-texture "space/background.png") :x 0 :y 0 :baseline 0)]
|
||||
:timers {:taunt [10.0 8.0 taunt]
|
||||
:shock [5.0 15.0 shock]}
|
||||
:entities {:appear (assoc effect
|
||||
:x 240 :y 50
|
||||
:baseline 200)
|
||||
:later (assoc (texture "space/later.png")
|
||||
:later (assoc (utils/get-texture "space/later.png")
|
||||
:x 0 :y 0
|
||||
:baseline 240
|
||||
:opacity 0.0)
|
||||
@@ -285,7 +285,7 @@
|
||||
:bullet (assoc (animation->texture screen bullet)
|
||||
:x 37 :y 85 :baseline 241
|
||||
:walk bullet)
|
||||
:broken-jewel (assoc (texture "space/broken-jewel.png")
|
||||
:broken-jewel (assoc (utils/get-texture "space/broken-jewel.png")
|
||||
:x 225 :y 170 :baseline 240)
|
||||
:collision "space/collision.png"
|
||||
:scale-fn (constantly 1.5)
|
||||
|
||||
Reference in New Issue
Block a user