I'm trying to make a free camera for a rts
there's is 2 problems with this code the frame rate wont show
even tho the frame rate is set to 60 still be nice to know that its staying constant
and i cant control the camera using the arrow keys
`set up
sync on : sync rate 60
set display mode 1440,900,32
autocam off
set text font "aerial black"
`control camera
control camera using arrowkeys 0,1,2
cx#=camera position x(0)
cz#=camera position z(0)
if cx#<0.0 then cx#=0
if cx#>size# then cx#=size#
if cz#<0.0 then cz#=0
if cz#>size# then cz#=size#
`Show Framerate
text 20,screen height()-40,desc$
fps$="DBPro Fps: "+str$(screen fps())
text screen width()-20-text width(fps$),screen height()-40,fps$
`load map & make static
`map object=1
load object "map.x",1
position object 1,1,0,0
load static objects "map.x",5
`load & scale object turret=2
load object "turret.x",2
scale object 2,50,50,50
rotate object 2,270,180,180
position object 2,0,10,0
fix object pivot 2
point object 2,0,0,0
while mouseclick()=0
sync
endwhile
delete object 2
end