Jacking the ball

This commit is contained in:
Pecusx
2025-01-05 00:48:23 +01:00
parent e7d6f8e5ca
commit b4093136c5
2 changed files with 15 additions and 0 deletions
+15
View File
@@ -641,6 +641,21 @@ bottomBounce
; so it is enough to switch dy sign ; so it is enough to switch dy sign
; sbw #$ffff dy dy ;this does not compile :( ; sbw #$ffff dy dy ;this does not compile :(
negw dY negw dY
; add racquet velocity (jacking the ball)
;check for joystick now
lda PORTA
and #$04 ;left
bne jNotLeft
; left
sbw dX #100
jNotLeft
lda PORTA
and #$08 ;right
bne jNotRight
;right
adw dX #100
jNotRight
mva #maxLines+margin-2 ypos+1 mva #maxLines+margin-2 ypos+1
bit LevelType bit LevelType
bmi noPingSFX ; no SFX on title screen bmi noPingSFX ; no SFX on title screen
BIN
View File
Binary file not shown.