The camera? Well, object nr 666 is int the center of the board and is invisible. The player rotates this object, and the camera's Y-angle is set to the object 666's Y-angel. Thereafter, the camera is positioned to the coordinates 0,0,0, only to move back to the value of zoom#.
I belive that this code handles the camera:
Rem rotates camera
If mouseclick()=3
Yrotate object 666,wrapvalue(object angle Y(666)+mousemoveX()*0.2)
Xrotate object 666,wrapvalue(object angle X(666)+mousemoveY()*0.2)
Rem prevent object from tilting to much
If object angle X(666)<20 then xrotate object 666,20
If object angle X(666)>80 then xrotate object 666,80
Endif
Rem zooms in/out
Zoom#=zoom#+(MousemoveZ()/5)
If zoom#>-102 then zoom#=-120
If zoom#<-3500 then zoom#=-3500
Rem positioning camera
Position camera 0,0,0
Set camera to object orientation 666
Move camera zoom#
Point camera 0,0,0
I wrote the comments in english, aswell. I thought it would help.
www.godhatessweden.com
Good laughter!