here you go, this combines 3rd person strafing and mouselook
Rem Setup sync
Sync On
Sync Rate 30
Hide mouse
Rem Make Cubes and place randomly
For x = 1 to 5
Make object cube x,100
Position object x,Rnd(2000),0,Rnd(2000)
Next x
Rem Make sphere
Make object sphere 10,50
Rem Main loop
Do
Rem Yrotate camera according to mouse nmovement along the X axis
aY# = aY#+mousemovex()
yrotate camera wrapvalue(aY#)
Rem Controls
If Upkey()=1
rem find the new x+z values to move to
newx#=newxvalue(x#,wrapvalue(aY#),10)
newz#=newzvalue(z#,wrapvalue(aY#),10)
x#=newx#
z#=newz#
endif
If downkey()=1
newx#=newxvalue(x#,wrapvalue(aY#-180),10)
newz#=newzvalue(z#,wrapvalue(aY#-180),10)
x#=newx#
z#=newz#
endif
If Leftkey()=1
newx#=newxvalue(x#,wrapvalue(aY#-90),10)
newz#=newzvalue(z#,wrapvalue(aY#-90),10)
x#=newx#
z#=newz#
Endif
If Rightkey()=1
newx#=newxvalue(x#,wrapvalue(aY#+90),10)
newz#=newzvalue(z#,wrapvalue(aY#+90),10)
x#=newx#
z#=newz#
Endif
Rem get new camera position and store in cZ# and cX#
cZ# = Newzvalue(Z#,aY#-180,100)
cX# = Newxvalue(X#,aY#-180,100)
Rem position camera
Position Camera cX#,100,cZ#
Rem point the camera at the player object
Point camera X#,50,Z#
rem Position player object
Position object 10,x#,y#,z#
Rem Refresh Screen
Sync
Loop
hi guys