SetErrorMode(2)
// set window properties
SetWindowTitle( "camera turn" )
SetWindowSize( 1366, 768, 0 )
SetWindowAllowResize( 1 ) // allow the user to resize the window
// set display properties
SetVirtualResolution( 1366, 768 ) // doesn't have to match the window
SetOrientationAllowed( 1, 1, 1, 1 ) // allow both portrait and landscape on mobile devices
SetSyncRate( 60, 0 ) // 30fps instead of 60 to save battery
SetScissor( 0,0,0,0 ) // use the maximum available screen space, no black borders
UseNewDefaultFonts( 1 ) // since version 2.0.22 we can use nicer default fonts
a=0
b=00
c=0
l=0
m=0
w=10
x=1180
y=0
zoom=0
start:
Print( ScreenFPS() )
if getrawkeystate(32)=1 then setwindowsize(1366,768,1)
if getrawkeystate(32)=0 then setwindowsize(1366,768,0)
Sync()
if getrawkeystate(13)=1 then goto beginning
goto start
beginning:
DeleteObject(3)
CreateObjectFromHeightMap(3,"mappy.png",512,150,512,50,0)
setobjectcolor(3,0,200,0,1)
setobjectposition(3,1000,-150,00)
setcameraposition(1,x,y,zoom)
camerarotate:
setcameraposition(1,x,y,zoom)
setcamerarotation(1,l,b,c)
sync()
if getrawkeystate(87)=1 then zoom=zoom+10
if getrawkeystate(83)=1 then zoom=zoom-10
if getrawkeystate(88)=1 then x=x+5
if getrawkeystate(90)=1 then x=x-5
if GetRawKeyState(77)=1 then b=b+5
if getrawkeystate(78)=1 then b=b-5
goto camerarotate
Hi guys this is what I'm having a problem with . Any help would be appreciated.