summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-11-18 17:41:16 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-11-18 17:41:16 +0100
commit49ae4f02ac1d72cdb4c3f60135b7e1be2ec1b9ac (patch)
tree7b874b6270b77969374676622de9744f727cccd6
parentf184634df7a26d797de1f48dd3b93238cfe96e48 (diff)
characters: Invert rows.
The row order for the sprite atlas has been inverted in Chickadee 0.3.0.
-rw-r--r--characters/lorenzo.scm12
-rw-r--r--characters/reaper.scm9
2 files changed, 11 insertions, 10 deletions
diff --git a/characters/lorenzo.scm b/characters/lorenzo.scm
index 7117c4e..8a59e72 100644
--- a/characters/lorenzo.scm
+++ b/characters/lorenzo.scm
@@ -94,14 +94,14 @@ void main (void) {
#:name 'sprite
#:atlas player-atlas
#:shader shader
- #:animations '((idle-right . #(8 8 8 8 8 7 7 7 7 7))
- (idle-left . #(0 0 0 0 0 15 15 15 15 15))
- (idle-front . #(24 24 24 24 24 32 32 32 32 32))
+ #:animations '((idle-right . #(24 24 24 24 24 39 39 39 39 39))
+ (idle-left . #(32 32 32 32 32 31 31 31 31 31))
+ (idle-front . #(8 8 8 8 8 0 0 0 0 0))
(idle-back . #(16))
- (left . #(1 35 2 35))
- (right . #(9 34 10 34))
+ (left . #(33 3 34 3))
+ (right . #(25 2 26 2))
(up . #(17 16 18 16))
- (down . #(25 24 26 24)))
+ (down . #(9 8 10 8)))
#:current-animation 'idle-front
#:frame-duration 10)
;; Simple player shadow. This should better be done
diff --git a/characters/reaper.scm b/characters/reaper.scm
index 112e92f..1a93ab1 100644
--- a/characters/reaper.scm
+++ b/characters/reaper.scm
@@ -122,10 +122,11 @@ you. I'm sure we will meet again sooner than you expect."
(cons (make <animated-sprite>
#:name 'sprite
#:atlas reaper-atlas
- #:animations '((idle . #(0 0 0 1 1 1 9 1 1 1 8 8 8 8 8 8 5 4 4 4 0 0 0 3 3))
- (pause . #(4 4 4 4 4 4 4 5))
- (talk . #(0 3 2 7 5 4 6 5 3 2 2 2 4 4 0 0 0))
- (up . #(11 15 11 12 14 10 14 13)))
+ #:animations
+ '((idle . #(12 12 12 13 13 13 5 13 13 13 4 4 4 4 4 4 9 8 8 8 12 12 12 15 15))
+ (pause . #(8 8 8 8 8 8 8 9))
+ (talk . #(12 15 14 11 9 8 10 9 15 14 14 14 8 8 12 12 12))
+ (up . #(7 3 7 0 2 6 2 1)))
#:current-animation 'idle
#:frame-duration 20)
;; Simple shadow. This should better be done with a