peasant: start adding in new sprite code

This commit is contained in:
Vince Weaver 2024-09-11 01:49:22 -04:00
parent 3273a11ea2
commit aa5def2cc7
15 changed files with 345 additions and 8 deletions

View File

@ -779,7 +779,7 @@ distclean:
###
clean:
rm -f *~ *.o *.lst HELLO VID_LOGO TITLE COPY_CHECK \
rm -f *~ *.o *.lst VID_LOGO TITLE COPY_CHECK \
PEASANT1 PEASANT2 PEASANT3 PEASANT4 \
TROGDOR ENDING MUSIC GAME_OVER \
*.ZX02 dialog_peasant2 \

View File

@ -1,4 +0,0 @@
5 HOME
10 REM PRINT CHR$(4)"CATALOG"
20 PRINT CHR$(4)"BRUN PEASANT"

View File

@ -26,7 +26,7 @@ intro.o: intro.s ../zp.inc ../qload.inc ../music.inc \
../title.s ../directions.s \
intro_cottage.s intro_lake_w.s intro_lake_e.s \
intro_river.s intro_knight.s \
../new_game.s
new_game.s
ca65 -o intro.o intro.s -l intro.lst
###

View File

@ -116,9 +116,12 @@ mockingboard_notfound2:
; start new game
;=============================
jmp start_new_game
; just fall on through...
.include "../new_game.s"
; jmp start_new_game
.include "new_game.s"
.include "intro_cottage.s"
.include "intro_lake_w.s"

View File

@ -0,0 +1,250 @@
HGR_SPRITE = ../../../utils/hgr-utils/hgr_make_sprite
ZX02 = ~/research/6502_compression/zx02.git/build/zx02
LINKER_SCRIPTS = ../../../linker_scripts
all: enemy_sprites.inc walk_sprites.inc climb_flame_sprites.inc \
climb_sprites.inc robe_sprites.inc flame_sprites.inc \
walking_sprites.zx02
####
walking_sprites.zx02: walking_sprites
$(ZX02) -f walking_sprites walking_sprites.zx02
walking_sprites: walking_sprites.o
ld65 -o walking_sprites walking_sprites.o -C $(LINKER_SCRIPTS)/apple2_a000.inc
walking_sprites.o: walking_sprites.s \
flame_sprites.inc walk_sprites.inc
ca65 -o walking_sprites.o walking_sprites.s -l walking_sprites.lst
enemy_sprites.inc: enemy_sprites.png
$(HGR_SPRITE) -l bird0_sprite enemy_sprites.png 210 50 230 66 > enemy_sprites.inc
$(HGR_SPRITE) -l bird0_mask enemy_sprites.png 238 50 258 66 >> enemy_sprites.inc
$(HGR_SPRITE) -l bird1_sprite enemy_sprites.png 210 74 230 88 >> enemy_sprites.inc
$(HGR_SPRITE) -l bird1_mask enemy_sprites.png 238 74 258 88 >> enemy_sprites.inc
$(HGR_SPRITE) -l bigrock0_sprite enemy_sprites.png 14 7 34 30 >> enemy_sprites.inc
$(HGR_SPRITE) -l bigrock0_mask enemy_sprites.png 42 7 62 30 >> enemy_sprites.inc
$(HGR_SPRITE) -l bigrock1_sprite enemy_sprites.png 14 35 34 57 >> enemy_sprites.inc
$(HGR_SPRITE) -l bigrock1_mask enemy_sprites.png 42 35 62 57 >> enemy_sprites.inc
$(HGR_SPRITE) -l bigrock2_sprite enemy_sprites.png 14 63 34 84 >> enemy_sprites.inc
$(HGR_SPRITE) -l bigrock2_mask enemy_sprites.png 42 63 62 84 >> enemy_sprites.inc
$(HGR_SPRITE) -l bigrock3_sprite enemy_sprites.png 14 91 34 113 >> enemy_sprites.inc
$(HGR_SPRITE) -l bigrock3_mask enemy_sprites.png 42 91 62 113 >> enemy_sprites.inc
$(HGR_SPRITE) -l bigrock_crash0_sprite enemy_sprites.png 14 119 34 137 >> enemy_sprites.inc
$(HGR_SPRITE) -l bigrock_crash0_mask enemy_sprites.png 42 119 62 137 >> enemy_sprites.inc
$(HGR_SPRITE) -l bigrock_crash1_sprite enemy_sprites.png 14 147 41 168 >> enemy_sprites.inc
$(HGR_SPRITE) -l bigrock_crash1_mask enemy_sprites.png 56 147 83 168 >> enemy_sprites.inc
$(HGR_SPRITE) -l smallrock0_sprite enemy_sprites.png 98 7 111 22 >> enemy_sprites.inc
$(HGR_SPRITE) -l smallrock0_mask enemy_sprites.png 126 7 139 22 >> enemy_sprites.inc
$(HGR_SPRITE) -l smallrock1_sprite enemy_sprites.png 98 35 111 49 >> enemy_sprites.inc
$(HGR_SPRITE) -l smallrock1_mask enemy_sprites.png 126 35 139 49 >> enemy_sprites.inc
$(HGR_SPRITE) -l smallrock2_sprite enemy_sprites.png 98 63 111 78 >> enemy_sprites.inc
$(HGR_SPRITE) -l smallrock2_mask enemy_sprites.png 126 63 139 78 >> enemy_sprites.inc
$(HGR_SPRITE) -l smallrock3_sprite enemy_sprites.png 98 91 111 105 >> enemy_sprites.inc
$(HGR_SPRITE) -l smallrock3_mask enemy_sprites.png 126 91 139 105 >> enemy_sprites.inc
$(HGR_SPRITE) -l smallrock_crash0_sprite enemy_sprites.png 98 119 111 134 >> enemy_sprites.inc
$(HGR_SPRITE) -l smallrock_crash0_mask enemy_sprites.png 126 119 139 134 >> enemy_sprites.inc
$(HGR_SPRITE) -l smallrock_crash1_sprite enemy_sprites.png 126 147 153 166 >> enemy_sprites.inc
$(HGR_SPRITE) -l smallrock_crash1_mask enemy_sprites.png 168 147 195 165 >> enemy_sprites.inc
climb_sprites.inc: climb_sprites.png
$(HGR_SPRITE) -l climb_r0_sprite climb_sprites.png 126 129 146 159 > climb_sprites.inc
$(HGR_SPRITE) -l climb_r0_mask climb_sprites.png 126 161 146 191 >> climb_sprites.inc
$(HGR_SPRITE) -l climb_r1_sprite climb_sprites.png 154 129 174 159 >> climb_sprites.inc
$(HGR_SPRITE) -l climb_r1_mask climb_sprites.png 154 161 174 191 >> climb_sprites.inc
$(HGR_SPRITE) -l climb_r2_sprite climb_sprites.png 182 129 202 159 >> climb_sprites.inc
$(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_mask climb_sprites.png 126 65 146 95 >> climb_sprites.inc
$(HGR_SPRITE) -l climb_l1_sprite climb_sprites.png 154 33 174 63 >> climb_sprites.inc
$(HGR_SPRITE) -l climb_l1_mask climb_sprites.png 154 65 174 95 >> climb_sprites.inc
$(HGR_SPRITE) -l climb_l2_sprite climb_sprites.png 182 33 202 63 >> climb_sprites.inc
$(HGR_SPRITE) -l climb_l2_mask climb_sprites.png 182 65 202 95 >> climb_sprites.inc
$(HGR_SPRITE) -l climb_l3_sprite climb_sprites.png 210 33 230 63 >> climb_sprites.inc
$(HGR_SPRITE) -l climb_l3_mask climb_sprites.png 210 65 230 95 >> climb_sprites.inc
$(HGR_SPRITE) -l climb_u0_sprite climb_sprites.png 14 33 34 64 >> climb_sprites.inc
$(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 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
robe_sprites.inc: robe_sprites.png
$(HGR_SPRITE) -l robe_r0_sprite robe_sprites.png 14 32 27 62 > robe_sprites.inc
$(HGR_SPRITE) -l robe_r0_mask robe_sprites.png 14 63 27 93 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_r1_sprite robe_sprites.png 42 32 53 62 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_r1_mask robe_sprites.png 42 63 53 93 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_r2_sprite robe_sprites.png 70 32 83 62 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_r2_mask robe_sprites.png 70 63 83 93 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_r3_sprite robe_sprites.png 98 32 111 62 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_r3_mask robe_sprites.png 98 63 111 93 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_r4_sprite robe_sprites.png 126 32 139 62 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_r4_mask robe_sprites.png 126 63 139 93 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_r5_sprite robe_sprites.png 154 32 167 62 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_r5_mask robe_sprites.png 154 63 167 93 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_l0_sprite robe_sprites.png 14 128 27 158 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_l0_mask robe_sprites.png 14 159 27 189 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_l1_sprite robe_sprites.png 42 128 53 158 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_l1_mask robe_sprites.png 42 159 53 189 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_l2_sprite robe_sprites.png 70 128 83 158 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_l2_mask robe_sprites.png 70 159 83 189 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_l3_sprite robe_sprites.png 98 128 111 158 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_l3_mask robe_sprites.png 98 159 111 189 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_l4_sprite robe_sprites.png 126 128 139 158 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_l4_mask robe_sprites.png 126 159 139 189 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_l5_sprite robe_sprites.png 154 128 167 158 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_l5_mask robe_sprites.png 154 159 167 189 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_u0_sprite robe_sprites.png 182 1 195 31 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_u0_mask robe_sprites.png 183 32 195 62 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_u1_sprite robe_sprites.png 210 1 221 31 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_u1_mask robe_sprites.png 210 32 223 62 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_u2_sprite robe_sprites.png 238 1 251 31 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_u2_mask robe_sprites.png 238 32 251 62 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_u3_sprite robe_sprites.png 266 1 279 31 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_u3_mask robe_sprites.png 266 32 279 62 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_u4_sprite robe_sprites.png 182 63 195 93 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_u4_mask robe_sprites.png 182 94 195 124 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_u5_sprite robe_sprites.png 210 63 223 93 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_u5_mask robe_sprites.png 210 94 223 124 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_d0_sprite robe_sprites.png 238 63 251 93 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_d0_mask robe_sprites.png 238 94 251 124 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_d1_sprite robe_sprites.png 266 63 279 93 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_d1_mask robe_sprites.png 266 94 279 124 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_d2_sprite robe_sprites.png 182 128 195 158 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_d2_mask robe_sprites.png 182 159 195 189 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_d3_sprite robe_sprites.png 210 128 223 158 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_d3_mask robe_sprites.png 210 159 223 189 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_d4_sprite robe_sprites.png 238 128 251 158 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_d4_mask robe_sprites.png 238 159 251 189 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_d5_sprite robe_sprites.png 266 128 279 158 >> robe_sprites.inc
$(HGR_SPRITE) -l robe_d5_mask robe_sprites.png 266 159 279 189 >> robe_sprites.inc
walk_sprites.inc: walk_sprites.png
$(HGR_SPRITE) -l walk_r0_sprite walk_sprites.png 14 32 27 62 > walk_sprites.inc
$(HGR_SPRITE) -l walk_r0_mask walk_sprites.png 14 63 27 93 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_r1_sprite walk_sprites.png 42 32 53 62 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_r1_mask walk_sprites.png 42 63 53 93 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_r2_sprite walk_sprites.png 70 32 83 62 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_r2_mask walk_sprites.png 70 63 83 93 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_r3_sprite walk_sprites.png 98 32 111 62 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_r3_mask walk_sprites.png 98 63 111 93 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_r4_sprite walk_sprites.png 126 32 139 62 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_r4_mask walk_sprites.png 126 63 139 93 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_r5_sprite walk_sprites.png 154 32 167 62 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_r5_mask walk_sprites.png 154 63 167 93 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_l0_sprite walk_sprites.png 14 128 27 158 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_l0_mask walk_sprites.png 14 159 27 189 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_l1_sprite walk_sprites.png 42 128 53 158 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_l1_mask walk_sprites.png 42 159 53 189 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_l2_sprite walk_sprites.png 70 128 83 158 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_l2_mask walk_sprites.png 70 159 83 189 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_l3_sprite walk_sprites.png 98 128 111 158 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_l3_mask walk_sprites.png 98 159 111 189 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_l4_sprite walk_sprites.png 126 128 139 158 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_l4_mask walk_sprites.png 126 159 139 189 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_l5_sprite walk_sprites.png 154 128 167 158 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_l5_mask walk_sprites.png 154 159 167 189 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_u0_sprite walk_sprites.png 182 1 195 31 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_u0_mask walk_sprites.png 183 32 195 62 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_u1_sprite walk_sprites.png 210 1 221 31 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_u1_mask walk_sprites.png 210 32 223 62 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_u2_sprite walk_sprites.png 238 1 251 31 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_u2_mask walk_sprites.png 238 32 251 62 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_u3_sprite walk_sprites.png 266 1 279 31 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_u3_mask walk_sprites.png 266 32 279 62 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_u4_sprite walk_sprites.png 182 63 195 93 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_u4_mask walk_sprites.png 182 94 195 124 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_u5_sprite walk_sprites.png 210 63 223 93 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_u5_mask walk_sprites.png 210 94 223 124 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_d0_sprite walk_sprites.png 238 63 251 93 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_d0_mask walk_sprites.png 238 94 251 124 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_d1_sprite walk_sprites.png 266 63 279 93 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_d1_mask walk_sprites.png 266 94 279 124 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_d2_sprite walk_sprites.png 182 128 195 158 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_d2_mask walk_sprites.png 182 159 195 189 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_d3_sprite walk_sprites.png 210 128 223 158 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_d3_mask walk_sprites.png 210 159 223 189 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_d4_sprite walk_sprites.png 238 128 251 158 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_d4_mask walk_sprites.png 238 159 251 189 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_d5_sprite walk_sprites.png 266 128 279 158 >> walk_sprites.inc
$(HGR_SPRITE) -l walk_d5_mask walk_sprites.png 266 159 279 189 >> walk_sprites.inc
flame_sprites.inc: flame_sprites.png
$(HGR_SPRITE) -l flame_r0_sprite flame_sprites.png 14 25 27 34 > flame_sprites.inc
$(HGR_SPRITE) -l flame_r0_mask flame_sprites.png 14 35 27 44 >> flame_sprites.inc
$(HGR_SPRITE) -l flame_r1_sprite flame_sprites.png 42 25 55 34 >> flame_sprites.inc
$(HGR_SPRITE) -l flame_r1_mask flame_sprites.png 42 35 55 44 >> flame_sprites.inc
$(HGR_SPRITE) -l flame_r2_sprite flame_sprites.png 70 25 83 34 >> flame_sprites.inc
$(HGR_SPRITE) -l flame_r2_mask flame_sprites.png 70 35 83 44 >> flame_sprites.inc
$(HGR_SPRITE) -l flame_l0_sprite flame_sprites.png 98 25 111 34 >> flame_sprites.inc
$(HGR_SPRITE) -l flame_l0_mask flame_sprites.png 98 35 111 44 >> flame_sprites.inc
$(HGR_SPRITE) -l flame_l1_sprite flame_sprites.png 126 25 139 34 >> flame_sprites.inc
$(HGR_SPRITE) -l flame_l1_mask flame_sprites.png 126 35 139 44 >> flame_sprites.inc
$(HGR_SPRITE) -l flame_l2_sprite flame_sprites.png 154 25 167 34 >> flame_sprites.inc
$(HGR_SPRITE) -l flame_l2_mask flame_sprites.png 154 35 167 44 >> flame_sprites.inc
$(HGR_SPRITE) -l flame_u0_sprite flame_sprites.png 14 147 27 156 >> flame_sprites.inc
$(HGR_SPRITE) -l flame_u0_mask flame_sprites.png 14 157 27 166 >> flame_sprites.inc
$(HGR_SPRITE) -l flame_u1_sprite flame_sprites.png 42 147 55 156 >> flame_sprites.inc
$(HGR_SPRITE) -l flame_u1_mask flame_sprites.png 42 157 55 166 >> flame_sprites.inc
$(HGR_SPRITE) -l flame_u2_sprite flame_sprites.png 70 147 83 156 >> flame_sprites.inc
$(HGR_SPRITE) -l flame_u2_mask flame_sprites.png 70 157 83 166 >> flame_sprites.inc
$(HGR_SPRITE) -l flame_d0_sprite flame_sprites.png 98 147 111 156 >> flame_sprites.inc
$(HGR_SPRITE) -l flame_d0_mask flame_sprites.png 98 157 111 166 >> flame_sprites.inc
$(HGR_SPRITE) -l flame_d1_sprite flame_sprites.png 126 147 139 156 >> flame_sprites.inc
$(HGR_SPRITE) -l flame_d1_mask flame_sprites.png 126 157 139 166 >> flame_sprites.inc
$(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
climb_flame_sprites.inc: climb_flame_sprites.png
$(HGR_SPRITE) -l flame_r0_sprite climb_flame_sprites.png 14 25 27 34 > climb_flame_sprites.inc
$(HGR_SPRITE) -l flame_r0_mask climb_flame_sprites.png 14 35 27 44 >> climb_flame_sprites.inc
$(HGR_SPRITE) -l flame_r1_sprite climb_flame_sprites.png 42 25 55 34 >> climb_flame_sprites.inc
$(HGR_SPRITE) -l flame_r1_mask climb_flame_sprites.png 42 35 55 44 >> climb_flame_sprites.inc
$(HGR_SPRITE) -l flame_r2_sprite climb_flame_sprites.png 70 25 83 34 >> climb_flame_sprites.inc
$(HGR_SPRITE) -l flame_r2_mask climb_flame_sprites.png 70 35 83 44 >> climb_flame_sprites.inc
$(HGR_SPRITE) -l flame_l0_sprite climb_flame_sprites.png 98 25 118 34 >> climb_flame_sprites.inc
$(HGR_SPRITE) -l flame_l0_mask climb_flame_sprites.png 98 35 118 44 >> climb_flame_sprites.inc
$(HGR_SPRITE) -l flame_l1_sprite climb_flame_sprites.png 126 25 146 34 >> climb_flame_sprites.inc
$(HGR_SPRITE) -l flame_l1_mask climb_flame_sprites.png 126 35 146 44 >> climb_flame_sprites.inc
$(HGR_SPRITE) -l flame_l2_sprite climb_flame_sprites.png 154 25 174 34 >> climb_flame_sprites.inc
$(HGR_SPRITE) -l flame_l2_mask climb_flame_sprites.png 154 35 174 44 >> climb_flame_sprites.inc
$(HGR_SPRITE) -l flame_u0_sprite climb_flame_sprites.png 14 147 27 156 >> climb_flame_sprites.inc
$(HGR_SPRITE) -l flame_u0_mask climb_flame_sprites.png 14 157 27 166 >> climb_flame_sprites.inc
$(HGR_SPRITE) -l flame_u1_sprite climb_flame_sprites.png 42 147 55 156 >> climb_flame_sprites.inc
$(HGR_SPRITE) -l flame_u1_mask climb_flame_sprites.png 42 157 55 166 >> climb_flame_sprites.inc
$(HGR_SPRITE) -l flame_u2_sprite climb_flame_sprites.png 70 147 83 156 >> climb_flame_sprites.inc
$(HGR_SPRITE) -l flame_u2_mask climb_flame_sprites.png 70 157 83 166 >> climb_flame_sprites.inc
$(HGR_SPRITE) -l flame_d0_sprite climb_flame_sprites.png 98 147 111 156 >> climb_flame_sprites.inc
$(HGR_SPRITE) -l flame_d0_mask climb_flame_sprites.png 98 157 111 166 >> climb_flame_sprites.inc
$(HGR_SPRITE) -l flame_d1_sprite climb_flame_sprites.png 126 147 139 156 >> climb_flame_sprites.inc
$(HGR_SPRITE) -l flame_d1_mask climb_flame_sprites.png 126 157 139 166 >> climb_flame_sprites.inc
$(HGR_SPRITE) -l flame_d2_sprite climb_flame_sprites.png 154 147 167 156 >> climb_flame_sprites.inc
$(HGR_SPRITE) -l flame_d2_mask climb_flame_sprites.png 154 157 167 166 >> climb_flame_sprites.inc
clean:
rm -f *~ enemy_sprites.inc robe_sprites.inc flame_sprites.inc \
walk_sprites.inc climb_sprites.inc climb_flame_sprites.inc

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

View File

@ -0,0 +1,88 @@
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
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
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
flame_sprites_ysize:
.byte 9, 9, 9 ; right
.byte 9, 9, 9 ; left
.byte 9, 9, 9 ; up
.byte 9, 9, 9 ; down
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
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
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
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
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
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
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
flame_mask_data_h:
.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
.include "walk_sprites.inc"
.include "flame_sprites.inc"