sb: more or less have logic in reasonable state

This commit is contained in:
Vince Weaver 2023-06-11 01:03:01 -04:00
parent 26a4a66e4a
commit 290f6f4bc6
3 changed files with 12 additions and 6 deletions

View File

@ -1,14 +1,10 @@
Strongbadzone:
+ Implement rest of audio
+ Ball movement logic. Is actually just 2D
-> Collision detect with head. Decrement count, play sound
-> Collision detect with player
+ Do the color mask (different blacks)
+ Animate side walls
-> This is going to involve fancy memory management
+ Faster hgr copy?
+ Optimize sprite size
+ Allow lowercase keyboard (see duck code)
+ Can't continually hold shield up
Duck:
+ Implement throwing

View File

@ -601,17 +601,24 @@ no_more_right:
jmp main_loop
shield_left:
lda SHIELD_POSITION
bne done_adjust_shield
lda #SHIELD_UP_LEFT
bne adjust_shield
shield_center:
lda SHIELD_POSITION
bne done_adjust_shield
lda #SHIELD_UP_CENTER
bne adjust_shield
shield_right:
lda SHIELD_POSITION
bne done_adjust_shield
lda #SHIELD_UP_RIGHT
adjust_shield:
sta SHIELD_POSITION
lda #5
lda #4
sta SHIELD_COUNT
done_adjust_shield:
jmp main_loop
asplode_asplode:

View File

@ -173,10 +173,13 @@ done_asplode_head:
lda #0
sta SHIELD_POSITION
sta BULLET_Y
sta SHIELD_COUNT
lda #1
sta BULLET_YDIR
bit KEYRESET ; clear any keypresses during asplode
rts