it all works, rather smoothly too.
This commit is contained in:
@@ -93,9 +93,8 @@
|
||||
(actions/walk-straight-to entities :ego [142 96])
|
||||
(actions/talk entities :ego "This must be Frankie Rockfist's secret stash!")))
|
||||
|
||||
(defn make [screen]
|
||||
(let [[screen atlas] (utils/acquire-atlas screen "packed/outside-jail.atlas")
|
||||
guard-sheet (texture! (utils/atlas->texture atlas "guard") :split 37 87)
|
||||
(defn make [screen atlas global-atlas]
|
||||
(let [guard-sheet (texture! (utils/atlas->texture atlas "guard") :split 37 87)
|
||||
guard-stand (animation 0.1 [(aget guard-sheet 0 0)])
|
||||
guard-talk (animation 0.2 (for [i [0 0 0 0 1 0 0 1]] (aget guard-sheet 0 i)))
|
||||
guard-sleep (utils/make-anim atlas "guard-sleep" [43 67] 0.1 (range 4))
|
||||
|
||||
Reference in New Issue
Block a user