duke: jumping sorta working

This commit is contained in:
Vince Weaver 2020-12-13 01:54:59 -05:00
parent f2c53974f3
commit da8c6a6044
2 changed files with 7 additions and 4 deletions

View File

@ -1,7 +1,10 @@
collision detection left/right
collision detection up (hit head on jump)
only calculate position once
only jump if feet on ground
speed up walking again
jump slightly higher?
hook up title screen

View File

@ -154,11 +154,11 @@ duke_get_feet_location:
; 6 = 48 (3)
; 7 = 48 (3)
lda DUKE_Y
clc
adc #8 ; +8
adc #6 ; +8
lsr ; / 4 (INT)
lsr