Center camera
This commit is contained in:
parent
37656fa799
commit
0fe97c02e4
|
@ -51,7 +51,8 @@ BRK
|
|||
.Controller/button DEI
|
||||
DUP #10 NEQ ,&no-u JCN
|
||||
.player/r LDZ2 #0002 ;raycast JSR2
|
||||
.player/y STZ2 .player/x STZ2
|
||||
.player/y STZ2
|
||||
.player/x STZ2
|
||||
;update JSR2
|
||||
&no-u
|
||||
DUP #20 NEQ ,&no-d JCN
|
||||
|
@ -106,7 +107,7 @@ JMP2r
|
|||
#0080 #0000
|
||||
&h
|
||||
DUP2 #10 SFT2 #0090 ADD2 .Screen/x DEO2
|
||||
DUP2 .player/r LDZ2 ADD2 #03ff AND2 ;ray-tile JSR2 ;draw-col JSR2
|
||||
DUP2 .player/r LDZ2 #0040 SUB2 ADD2 #03ff AND2 ;ray-tile JSR2 ;draw-col JSR2
|
||||
INC2 GTH2k ,&h JCN
|
||||
POP2 POP2
|
||||
|
||||
|
|
Loading…
Reference in New Issue