cliff: update climbing sprites

This commit is contained in:
Vince Weaver 2024-09-04 23:30:59 -04:00
parent bb1f661fd3
commit cd81a1566b
3 changed files with 98 additions and 65 deletions

View File

@ -80,7 +80,7 @@ climbing_sprites: climbing_sprites.o
climbing_sprites.o: climbing_sprites.s \
sprites/flame_sprites.inc \
sprites/walk_sprites.inc
sprites/climb_sprites.inc
ca65 -o climbing_sprites.o climbing_sprites.s -l climbing_sprites.lst

View File

@ -1,88 +1,118 @@
walk_sprites_xsize:
.byte 2, 2, 2, 2, 2, 2 ; right ; 0
.byte 2, 2, 2, 2, 2, 2 ; left ; 6
.byte 2, 2, 2, 2, 2, 2 ; up ; 12
.byte 2, 2, 2, 2, 2, 2 ; down ; 18
climb_sprites_xsize:
.byte 3, 3, 3, 3 ; right ; 0
.byte 3, 3, 3, 3 ; left ; 4
.byte 3, 3, 3, 3 ; up ; 8
.byte 3, 3, 3, 3 ; down ; 12
flame_sprites_xsize:
.byte 2, 2, 2 ; right ; 24
.byte 2, 2, 2 ; left ; 27
.byte 2, 2, 2 ; up ; 30
.byte 2, 2, 2 ; down ; 33
.byte 2, 2, 2 ; right ; 16
.byte 2, 2, 2 ; left ; 19
.byte 2, 2, 2 ; up ; 22
.byte 2, 2, 2 ; down ; 25
fall_sprites_xsize:
.byte 3, 3, 3, 3 ; 28
splat_sprites_xsize:
.byte 3,3 ; ; 32
walk_sprites_ysize:
.byte 30, 30, 30, 30, 30, 30 ; right
.byte 30, 30, 30, 30, 30, 30 ; left
.byte 30, 30, 30, 30, 30, 30 ; up
.byte 30, 30, 30, 30, 30, 30 ; down
climb_sprites_ysize:
.byte 30, 30, 30, 30 ; right
.byte 30, 30, 30, 30 ; left
.byte 30, 30, 30, 30 ; up
.byte 30, 30, 30, 30 ; down
flame_sprites_ysize:
.byte 9, 9, 9 ; right
.byte 9, 9, 9 ; left
.byte 9, 9, 9 ; up
.byte 9, 9, 9 ; down
fall_sprites_ysize:
.byte 21,21,21,21
splat_sprites_ysize:
.byte 21,21
walk_sprites_data_l:
.byte <walk_r0_sprite,<walk_r1_sprite,<walk_r2_sprite
.byte <walk_r3_sprite,<walk_r4_sprite,<walk_r5_sprite
.byte <walk_l0_sprite,<walk_l1_sprite,<walk_l2_sprite
.byte <walk_l3_sprite,<walk_l4_sprite,<walk_l5_sprite
.byte <walk_u0_sprite,<walk_u1_sprite,<walk_u2_sprite
.byte <walk_u3_sprite,<walk_u4_sprite,<walk_u5_sprite
.byte <walk_d0_sprite,<walk_d1_sprite,<walk_d2_sprite
.byte <walk_d3_sprite,<walk_d4_sprite,<walk_d5_sprite
climb_sprites_data_l:
.byte <climb_r0_sprite,<climb_r1_sprite,<climb_r2_sprite
.byte <climb_r3_sprite
.byte <climb_l0_sprite,<climb_l1_sprite,<climb_l2_sprite
.byte <climb_l3_sprite
.byte <climb_u0_sprite,<climb_u1_sprite,<climb_u2_sprite
.byte <climb_u3_sprite
.byte <climb_u3_sprite,<climb_u2_sprite,<climb_u1_sprite
.byte <climb_u0_sprite
flame_sprites_data_l:
.byte <flame_r0_sprite,<flame_r1_sprite,<flame_r2_sprite
.byte <flame_l0_sprite,<flame_l1_sprite,<flame_l2_sprite
.byte <flame_u0_sprite,<flame_u1_sprite,<flame_u2_sprite
.byte <flame_d0_sprite,<flame_d1_sprite,<flame_d2_sprite
fall_sprites_data_l:
.byte <climb_f0_sprite,<climb_f1_sprite,<climb_f2_sprite
.byte <climb_f3_sprite
splat_sprites_data_l:
.byte <climb_s0_sprite,<climb_s1_sprite
walk_sprites_data_h:
.byte >walk_r0_sprite,>walk_r1_sprite,>walk_r2_sprite
.byte >walk_r3_sprite,>walk_r4_sprite,>walk_r5_sprite
.byte >walk_l0_sprite,>walk_l1_sprite,>walk_l2_sprite
.byte >walk_l3_sprite,>walk_l4_sprite,>walk_l5_sprite
.byte >walk_u0_sprite,>walk_u1_sprite,>walk_u2_sprite
.byte >walk_u3_sprite,>walk_u4_sprite,>walk_u5_sprite
.byte >walk_d0_sprite,>walk_d1_sprite,>walk_d2_sprite
.byte >walk_d3_sprite,>walk_d4_sprite,>walk_d5_sprite
climb_sprites_data_h:
.byte >climb_r0_sprite,>climb_r1_sprite,>climb_r2_sprite
.byte >climb_r3_sprite
.byte >climb_l0_sprite,>climb_l1_sprite,>climb_l2_sprite
.byte >climb_l3_sprite
.byte >climb_u0_sprite,>climb_u1_sprite,>climb_u2_sprite
.byte >climb_u3_sprite
.byte >climb_u3_sprite,>climb_u2_sprite,>climb_u1_sprite
.byte >climb_u0_sprite
flame_sprites_data_h:
.byte >flame_r0_sprite,>flame_r1_sprite,>flame_r2_sprite
.byte >flame_l0_sprite,>flame_l1_sprite,>flame_l2_sprite
.byte >flame_u0_sprite,>flame_u1_sprite,>flame_u2_sprite
.byte >flame_d0_sprite,>flame_d1_sprite,>flame_d2_sprite
fall_sprites_data_h:
.byte >climb_f0_sprite,>climb_f1_sprite,>climb_f2_sprite
.byte >climb_f3_sprite
splat_sprites_data_h:
.byte >climb_s0_sprite,>climb_s1_sprite
walk_mask_data_l:
.byte <walk_r0_mask,<walk_r1_mask,<walk_r2_mask
.byte <walk_r3_mask,<walk_r4_mask,<walk_r5_mask
.byte <walk_l0_mask,<walk_l1_mask,<walk_l2_mask
.byte <walk_l3_mask,<walk_l4_mask,<walk_l5_mask
.byte <walk_u0_mask,<walk_u1_mask,<walk_u2_mask
.byte <walk_u3_mask,<walk_u4_mask,<walk_u5_mask
.byte <walk_d0_mask,<walk_d1_mask,<walk_d2_mask
.byte <walk_d3_mask,<walk_d4_mask,<walk_d5_mask
climb_mask_data_l:
.byte <climb_r0_mask,<climb_r1_mask,<climb_r2_mask
.byte <climb_r3_mask
.byte <climb_l0_mask,<climb_l1_mask,<climb_l2_mask
.byte <climb_l3_mask
.byte <climb_u0_mask,<climb_u1_mask,<climb_u2_mask
.byte <climb_u3_mask
.byte <climb_u3_mask,<climb_u2_mask,<climb_u1_mask
.byte <climb_u0_mask
flame_mask_data_l:
.byte <flame_r0_mask,<flame_r1_mask,<flame_r2_mask
.byte <flame_l0_mask,<flame_l1_mask,<flame_l2_mask
.byte <flame_u0_mask,<flame_u1_mask,<flame_u2_mask
.byte <flame_d0_mask,<flame_d1_mask,<flame_d2_mask
fall_mask_data_l:
.byte >climb_f0_mask,>climb_f1_mask,>climb_f2_mask
.byte >climb_f3_mask
splat_mask_data_l:
.byte >climb_s0_mask,>climb_s1_mask
walk_mask_data_h:
.byte >walk_r0_mask,>walk_r1_mask,>walk_r2_mask
.byte >walk_r3_mask,>walk_r4_mask,>walk_r5_mask
.byte >walk_l0_mask,>walk_l1_mask,>walk_l2_mask
.byte >walk_l3_mask,>walk_l4_mask,>walk_l5_mask
.byte >walk_u0_mask,>walk_u1_mask,>walk_u2_mask
.byte >walk_u3_mask,>walk_u4_mask,>walk_u5_mask
.byte >walk_d0_mask,>walk_d1_mask,>walk_d2_mask
.byte >walk_d3_mask,>walk_d4_mask,>walk_d5_mask
climb_mask_data_h:
.byte >climb_r0_mask,>climb_r1_mask,>climb_r2_mask
.byte >climb_r3_mask
.byte >climb_l0_mask,>climb_l1_mask,>climb_l2_mask
.byte >climb_l3_mask
.byte >climb_u0_mask,>climb_u1_mask,>climb_u2_mask
.byte >climb_u3_mask
.byte >climb_u3_mask,>climb_u2_mask,>climb_u1_mask
.byte >climb_u0_mask
flame_mask_data_h:
.byte >flame_r0_mask,>flame_r1_mask,>flame_r2_mask
.byte >flame_l0_mask,>flame_r1_mask,>flame_l2_mask
.byte >flame_u0_mask,>flame_u1_mask,>flame_u2_mask
.byte >flame_d0_mask,>flame_d1_mask,>flame_d2_mask
fall_mask_data_h:
.byte <climb_f0_mask,<climb_f1_mask,<climb_f2_mask
.byte <climb_f3_mask
splat_mask_data_h:
.byte <climb_s0_mask,<climb_s1_mask
.include "sprites/walk_sprites.inc"
.include "sprites/climb_sprites.inc"
.include "sprites/flame_sprites.inc"

View File

@ -43,7 +43,7 @@ climb_sprites.inc: climb_sprites.png
$(HGR_SPRITE) -l climb_r2_mask climb_sprites.png 182 161 202 191 >> climb_sprites.inc
$(HGR_SPRITE) -l climb_r3_sprite climb_sprites.png 210 129 230 159 >> climb_sprites.inc
$(HGR_SPRITE) -l climb_r3_mask climb_sprites.png 210 161 230 191 >> climb_sprites.inc
$(HGR_SPRITE) -l climb_l0_sprite climb_sprites.png 126 33 146 63 > climb_sprites.inc
$(HGR_SPRITE) -l climb_l0_sprite climb_sprites.png 126 33 146 63 >> climb_sprites.inc
$(HGR_SPRITE) -l climb_l0_mask climb_sprites.png 126 65 146 95 >> climb_sprites.inc
$(HGR_SPRITE) -l climb_l1_sprite climb_sprites.png 154 129 174 159 >> climb_sprites.inc
$(HGR_SPRITE) -l climb_l1_mask climb_sprites.png 154 65 174 95 >> climb_sprites.inc
@ -55,10 +55,22 @@ climb_sprites.inc: climb_sprites.png
$(HGR_SPRITE) -l climb_u0_mask climb_sprites.png 14 66 34 97 >> climb_sprites.inc
$(HGR_SPRITE) -l climb_u1_sprite climb_sprites.png 42 33 62 64 >> climb_sprites.inc
$(HGR_SPRITE) -l climb_u1_mask climb_sprites.png 42 66 62 97 >> climb_sprites.inc
$(HGR_SPRITE) -l climb_u2_sprite climb_sprites.png 70 33 99 64 >> climb_sprites.inc
$(HGR_SPRITE) -l climb_u2_sprite climb_sprites.png 70 33 90 64 >> climb_sprites.inc
$(HGR_SPRITE) -l climb_u2_mask climb_sprites.png 70 66 90 97 >> climb_sprites.inc
$(HGR_SPRITE) -l climb_u3_sprite climb_sprites.png 98 33 118 64 >> climb_sprites.inc
$(HGR_SPRITE) -l climb_u3_mask climb_sprites.png 98 66 118 97 >> climb_sprites.inc
$(HGR_SPRITE) -l climb_f0_sprite climb_sprites.png 14 126 34 147 >> climb_sprites.inc
$(HGR_SPRITE) -l climb_f0_mask climb_sprites.png 14 154 34 175 >> climb_sprites.inc
$(HGR_SPRITE) -l climb_f1_sprite climb_sprites.png 42 126 62 147 >> climb_sprites.inc
$(HGR_SPRITE) -l climb_f1_mask climb_sprites.png 42 154 62 175 >> climb_sprites.inc
$(HGR_SPRITE) -l climb_f2_sprite climb_sprites.png 70 126 90 147 >> climb_sprites.inc
$(HGR_SPRITE) -l climb_f2_mask climb_sprites.png 70 154 90 175 >> climb_sprites.inc
$(HGR_SPRITE) -l climb_f3_sprite climb_sprites.png 98 126 118 147 >> climb_sprites.inc
$(HGR_SPRITE) -l climb_f3_mask climb_sprites.png 98 154 118 175 >> climb_sprites.inc
$(HGR_SPRITE) -l climb_s0_sprite climb_sprites.png 238 25 258 46 >> climb_sprites.inc
$(HGR_SPRITE) -l climb_s0_mask climb_sprites.png 238 49 258 70 >> climb_sprites.inc
$(HGR_SPRITE) -l climb_s1_sprite climb_sprites.png 238 121 258 142 >> climb_sprites.inc
$(HGR_SPRITE) -l climb_s1_mask climb_sprites.png 238 145 258 166 >> climb_sprites.inc
@ -199,15 +211,6 @@ flame_sprites.inc: flame_sprites.png
$(HGR_SPRITE) -l flame_d2_sprite flame_sprites.png 154 147 167 156 >> flame_sprites.inc
$(HGR_SPRITE) -l flame_d2_mask flame_sprites.png 154 157 167 166 >> flame_sprites.inc
clean:
rm -f *~ enemy_sprites.inc robe_sprites.inc flame_sprites.inc \
walk_sprites.inc climb_sprites.inc