sb: update with full sprite load

This commit is contained in:
Vince Weaver 2023-06-09 13:25:11 -04:00
parent 40eb53cb7c
commit a6a2fb235c
6 changed files with 30 additions and 13 deletions

View File

@ -70,6 +70,9 @@ asplode.o: asplode.s zx02_optim.s \
zp.inc hardware.inc
ca65 -o asplode.o asplode.s -l asplode.lst
asplode_graphics/sb_sprites.inc:
cd asplode_graphics && make
asplode_graphics/sb_title.hgr.zx02:
cd asplode_graphics && make

View File

@ -1,12 +1,15 @@
Title
+ Out of bounds show Edgar Jr. "Outta Bounds"
+
Duck:
+ Lots
+ move graphics files
+ Implement throwing
+ Implement duck movement
+ Implement score
+ Implement easter eggs
+ Exit back to main title
Rat:
+ Exit back to main title
+
Strongbadzone:
+ Get audio
@ -17,9 +20,10 @@ Strongbadzone:
+ Do the color mask (different blacks)
+ Animate side walls
+ Faster hgr copy?
+ Optimize sprite size
Cliff:
+ Lots
+ Everything
Jump
+ Lots
+ Everything

View File

@ -218,9 +218,9 @@ no_move_head:
; draw head
;===========================
lda #<big_head_sprite
lda #<big_head0_sprite
sta INL
lda #>big_head_sprite
lda #>big_head0_sprite
sta INH
lda STRONGBAD_X
sta SPRITE_X
@ -399,9 +399,9 @@ do_asplode:
; draw head
;==========================
lda #<big_head_sprite
lda #<big_head0_sprite
sta INL
lda #>big_head_sprite
lda #>big_head0_sprite
sta INH
lda #16 ; center
sta SPRITE_X

View File

@ -31,8 +31,14 @@ sb_title.hgr: sb_title.png
####
# TODO: optimize these a bit
sb_sprites.inc: sb_sprites.png
$(HGR_SPRITE) -s -l big_head_sprite sb_sprites.png 84 36 132 92 > sb_sprites.inc
$(HGR_SPRITE) -s -l big_head0_sprite sb_sprites.png 0 78 47 134 > sb_sprites.inc
$(HGR_SPRITE) -s -l big_head1_sprite sb_sprites.png 56 78 103 134 >> sb_sprites.inc
$(HGR_SPRITE) -s -l big_head2_sprite sb_sprites.png 112 78 159 134 >> sb_sprites.inc
$(HGR_SPRITE) -s -l big_head3_sprite sb_sprites.png 56 21 103 77 >> sb_sprites.inc
$(HGR_SPRITE) -s -l big_head4_sprite sb_sprites.png 112 21 159 77 >> sb_sprites.inc
$(HGR_SPRITE) -s -l player_sprite sb_sprites.png 98 138 181 192 >> sb_sprites.inc
$(HGR_SPRITE) -s -l shield_left_sprite sb_sprites.png 0 138 83 192 >> sb_sprites.inc
$(HGR_SPRITE) -s -l shield_center_sprite sb_sprites.png 196 83 279 137 >> sb_sprites.inc
@ -65,7 +71,11 @@ sb_sprites.inc: sb_sprites.png
$(HGR_SPRITE) -s -l head_sm_sprite sb_sprites.png 28 32 47 37 >> sb_sprites.inc
$(HGR_SPRITE) -s -l a_sm_sprite sb_sprites.png 0 38 5 43 >> sb_sprites.inc
$(HGR_SPRITE) -s -l splode_sm_sprite sb_sprites.png 14 38 33 43 >> sb_sprites.inc
$(HGR_SPRITE) -s -l bullet_done_sprite sb_sprites.png 168 114 180 123 >> sb_sprites.inc
$(HGR_SPRITE) -s -l asploding1_sprite sb_sprites.png 196 27 222 52 >> sb_sprites.inc
$(HGR_SPRITE) -s -l asploding2_sprite sb_sprites.png 238 27 264 52 >> sb_sprites.inc
$(HGR_SPRITE) -s -l asploding3_sprite sb_sprites.png 196 53 222 78 >> sb_sprites.inc
$(HGR_SPRITE) -s -l asploding4_sprite sb_sprites.png 238 53 264 78 >> sb_sprites.inc
####

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

View File

@ -183,7 +183,7 @@ sector_array:
length_array:
.byte 40, 16, 16, 48 ; TITLE, DUCK, ROOF, ASPLODE
.byte 40, 16, 16, 60 ; TITLE, DUCK, ROOF, ASPLODE
.byte 32, 32, 32 ; TARGET, CLIFF, RAT