inside castle.
This commit is contained in:
@@ -328,6 +328,7 @@
|
||||
|
||||
(defn make [screen]
|
||||
(let [[screen atlas] (utils/acquire-atlas screen "packed/outside-castle.atlas")
|
||||
[screen global-atlas] (utils/acquire-atlas screen "packed/global.atlas")
|
||||
peddler-sheet (texture! (utils/atlas->texture atlas "peddler-talk" ) :split 18 36)
|
||||
peddler-talk (animation 0.18 (for [i (flatten [2 3 2 3 2 3 6 1 0 1 0 1 0 1 0 1 2 3 2 3 2 3 6 4 5 4 5 4 5 4 5])]
|
||||
(aget peddler-sheet 0 i)))
|
||||
@@ -473,7 +474,7 @@
|
||||
:script (actions/get-script entities
|
||||
(actions/talk entities :ego "Those look like the choicest of balloons.")))
|
||||
:stand)
|
||||
:bird (utils/make-bird screen (as-> [[82 235] [134 215] [185 235] [165 238]
|
||||
:bird (utils/make-bird screen global-atlas (as-> [[82 235] [134 215] [185 235] [165 238]
|
||||
[220 225] [210 230] [250 235]] p
|
||||
(concat p (reverse p))))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user