return to normal.
This commit is contained in:
@@ -99,6 +99,9 @@
|
|||||||
(let [game-player-talk-sheet (texture! (texture "inside-castle/game-player-talk.png") :split 40 44)
|
(let [game-player-talk-sheet (texture! (texture "inside-castle/game-player-talk.png") :split 40 44)
|
||||||
game-player-talk (animation 0.15 (for [i [0 2 0 2 0 2 0 3 0 2 0 1 0 0 0 0 2 0 2 0 3 0 1 0 1 0 0 1 0 2 0 3 0]]
|
game-player-talk (animation 0.15 (for [i [0 2 0 2 0 2 0 3 0 2 0 1 0 0 0 0 2 0 2 0 3 0 1 0 1 0 0 1 0 2 0 3 0]]
|
||||||
(aget game-player-talk-sheet 0 i)))
|
(aget game-player-talk-sheet 0 i)))
|
||||||
|
|
||||||
|
game-player-stand (animation 0.15 (for [i [0 0 0 0 0 0 0 0 0 0 0 1]]
|
||||||
|
(aget game-player-talk-sheet 0 i)))
|
||||||
trophy (utils/make-anim "inside-castle/trophy.png" [16 16] 0.1 (flatten [(repeat 50 0) 1 2 3 3 3 3 2 1]))]
|
trophy (utils/make-anim "inside-castle/trophy.png" [16 16] 0.1 (flatten [(repeat 50 0) 1 2 3 3 3 3 2 1]))]
|
||||||
(rooms/make :music :town-1
|
(rooms/make :music :town-1
|
||||||
:interactions
|
:interactions
|
||||||
@@ -187,7 +190,9 @@
|
|||||||
(actions/give entities :trophy)
|
(actions/give entities :trophy)
|
||||||
(actions/remove-entity entities :trophy))
|
(actions/remove-entity entities :trophy))
|
||||||
(actions/talk entities :ego "He doesn't need it.")))}
|
(actions/talk entities :ego "He doesn't need it.")))}
|
||||||
:anim nil
|
:anim game-player-stand
|
||||||
|
:anim-start 0
|
||||||
|
:stand game-player-stand
|
||||||
:talk game-player-talk)}
|
:talk game-player-talk)}
|
||||||
:collision "inside-castle/collision.png"
|
:collision "inside-castle/collision.png"
|
||||||
:scale-fn (utils/scaler-fn-from-image "inside-castle/scale.png" 0.25 1.00)
|
:scale-fn (utils/scaler-fn-from-image "inside-castle/scale.png" 0.25 1.00)
|
||||||
|
|||||||
Reference in New Issue
Block a user