This pasted wrong
vsync on
This isn't on the script I havent used code snipets before
REM Project: CloudWrightExample
rem Use desktop resolution, vsync on
sync on : sync rate 0
desktopwidth=desktop width()
desktopheight=desktop height()
set display mode desktopwidth,desktopheight,32,1
rem Init app
color backdrop 0 : hide mouse : autocam off
rem Load sky
load object "cloudcube.x",1
rem Prepare sky object to remove shading and seams
set object light 1,0 : set object texture 1,2,0
rem Position camera to look into sky
xrotate camera -20
rem Main loop
do
`
rem User prompt
center text screen width()/2,20,"USE MOUSELOOK TO VIEW THE SKY"
`
rem Mouselook controls
rotate camera camera angle x()+mousemovey()/2.0,camera angle y()+mousemovex()/2.0,0
`
rem Update screen
sync
`
rem End loop
loop