AI aiming with barrel animation and sound

This commit is contained in:
Pecusx
2023-06-14 17:28:25 +02:00
parent 669fe6401f
commit faa1426e1f
5 changed files with 8 additions and 0 deletions
+5
View File
@@ -780,6 +780,11 @@ SetStartAndFlight ; set start point (virtual barrel end :) ) and make test fl
sta ytraj+1
mva #0 ytraj+2
mva NewAngle Angle
lda CONSOL
and #%00000001 ; START KEY
beq @speedup
jsr MoveBarrelToNewPosition
@speedup
jsr Flight
ldx TankNr
rts
+3
View File
@@ -1027,7 +1027,10 @@ MoveBarrel
ldx TankNr
;
mva #1 Erase
bit TestFlightFlag
bmi AIaim
jsr WaitOneFrame
AIaim
jsr DrawTankNr.BarrelChange
mva #0 Erase
lda NewAngle
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.