fish: add fish sprites

This commit is contained in:
Vince Weaver 2024-06-10 16:36:31 -04:00
parent c7f7b78752
commit 9e251acaa4
4 changed files with 25 additions and 3 deletions

View File

@ -16,6 +16,7 @@ fish.o: fish.s zx02_optim.s \
graphics/fish_bg.hgr.zx02 \
graphics/boat_sprites.inc \
graphics/strongbad_sprites.inc \
graphics/fish_sprites.inc \
sounds/fish.btc.zx02 \
sounds/get_in_boat.btc.zx02 \
hgr_sprite_big.s \

View File

@ -513,4 +513,5 @@ bg_data:
.include "graphics/boat_sprites.inc"
.include "graphics/strongbad_sprites.inc"
.include "graphics/fish_sprites.inc"

View File

@ -5,7 +5,7 @@ PNG_TO_HGR = ../../../../utils/hgr-utils/png2hgr
HGR_SPRITE = ../../../../utils/hgr-utils/hgr_make_sprite
all: fish_title.hgr.zx02 fish_bg.hgr.zx02 boat2_sb.hgr.zx02 \
boat_sprites.inc strongbad_sprites.inc
boat_sprites.inc strongbad_sprites.inc fish_sprites.inc
####
@ -51,8 +51,28 @@ strongbad_sprites.inc: strongbad_sprites.png
$(HGR_SPRITE) -s -l sb_boat2_sprite strongbad_sprites.png 84 112 153 192 >> strongbad_sprites.inc
$(HGR_SPRITE) -s -l sb_boat3_sprite strongbad_sprites.png 168 112 237 192 >> strongbad_sprites.inc
####
fish_sprites.inc: fish_sprites.png
$(HGR_SPRITE) -s -l grey_fish_sprite fish_sprites.png 0 0 20 7 > fish_sprites.inc
$(HGR_SPRITE) -s -l red_fish_sprite fish_sprites.png 0 9 20 16 >> fish_sprites.inc
$(HGR_SPRITE) -s -l green_fish_sprite fish_sprites.png 0 18 27 25 >> fish_sprites.inc
$(HGR_SPRITE) -s -l grey_fish_mask fish_sprites.png 42 29 62 36 > fish_sprites.inc
$(HGR_SPRITE) -s -l red_fish_mask fish_sprites.png 42 38 62 45 >> fish_sprites.inc
$(HGR_SPRITE) -s -l green_fish_mask fish_sprites.png 42 47 69 54 >> fish_sprites.inc
$(HGR_SPRITE) -s -l left_fish_sprite fish_sprites.png 0 29 20 36 >> fish_sprites.inc
$(HGR_SPRITE) -s -l right_fish_sprite fish_sprites.png 0 38 20 45 >> fish_sprites.inc
$(HGR_SPRITE) -s -l big_fish_sprite fish_sprites.png 0 47 27 54 >> fish_sprites.inc
$(HGR_SPRITE) -s -l zero_sprite fish_sprites.png 0 0 6 79 >> fish_sprites.inc
$(HGR_SPRITE) -s -l one_sprite fish_sprites.png 14 72 20 79 >> fish_sprites.inc
$(HGR_SPRITE) -s -l two_sprite fish_sprites.png 28 72 34 79 >> fish_sprites.inc
$(HGR_SPRITE) -s -l three_sprite fish_sprites.png 42 72 48 79 >> fish_sprites.inc
$(HGR_SPRITE) -s -l four_sprite fish_sprites.png 56 72 62 79 >> fish_sprites.inc
$(HGR_SPRITE) -s -l five_sprite fish_sprites.png 0 80 6 87 >> fish_sprites.inc
$(HGR_SPRITE) -s -l six_sprite fish_sprites.png 14 80 20 87 >> fish_sprites.inc
$(HGR_SPRITE) -s -l seven_sprite fish_sprites.png 28 80 34 87 >> fish_sprites.inc
$(HGR_SPRITE) -s -l eight_sprite fish_sprites.png 42 80 48 87 >> fish_sprites.inc
$(HGR_SPRITE) -s -l nine_sprite fish_sprites.png 56 80 62 87 >> fish_sprites.inc
@ -60,5 +80,5 @@ strongbad_sprites.inc: strongbad_sprites.png
####
clean:
rm -f *~ *.o *.lst *.zx02 *.hgr strongbad_sprites.inc boat_sprites.inc
rm -f *~ *.o *.lst *.zx02 *.hgr strongbad_sprites.inc boat_sprites.inc fish_sprites.inc

Binary file not shown.

Before

Width:  |  Height:  |  Size: 823 B

After

Width:  |  Height:  |  Size: 4.7 KiB