it all works, rather smoothly too.
This commit is contained in:
@@ -171,13 +171,8 @@
|
||||
(defn pace [xs speed]
|
||||
(mapcat #(repeat (- 4 speed) %) xs))
|
||||
|
||||
(defn make [screen]
|
||||
(let [[screen atlas] (utils/acquire-atlas screen "packed/inside-cafeteria.atlas")
|
||||
[screen global-atlas] (utils/acquire-atlas screen "packed/global.atlas")
|
||||
|
||||
|
||||
|
||||
ladder-guard-stand (animation 0.1 [(utils/atlas->texture atlas "ladder-guard-2")])
|
||||
(defn make [screen atlas global-atlas]
|
||||
(let [ladder-guard-stand (animation 0.1 [(utils/atlas->texture atlas "ladder-guard-2")])
|
||||
ladder-guard-talk (animation 0.1 [ (utils/atlas->texture atlas "ladder-guard-2")])
|
||||
warriors-stand (utils/make-anim atlas "knights-stand" [49 80] 0.6 (take 100 (repeatedly #(rand-int 10))))
|
||||
knight-a-stand (utils/make-anim atlas "knight-a" [70 85] 0.2 (flatten [(repeat 3 [(repeat 7 0) (repeat 7 1) (repeat 7 0) (repeat 7 2)]) [3 4 5 6 7 8 9]]))
|
||||
|
||||
Reference in New Issue
Block a user