TDK
Quote: "If LeftKey()=1 Then Inc CamAngX#,WrapValue(CamAngX#+0.5)
If CamAngX# > 90.0 Then CamAngX# = 90.0
Rotate Camera CamAngX#,CamAngY#,CamAngZ#"
This works fine if your using the keyboard to control where the camera points but do you know how you would do it if you use the mouse for code that looks like this -
OldCamAngleY# = CameraAngleY#
OldCamAngleX# = CameraAngleX#
CameraAngleY# = WrapValue(CameraAngleY#+MousemoveX()*0.2)
CameraAngleX# = WrapValue(CameraAngleX#+MousemoveY()*0.2)
Yrotate camera CurveAngle(CameraAngleY#,OldCamAngleY#,24)
Xrotate camera CurveAngle(CameraAngleX#,OldCamAngleX#,24)
which comes from the online tutorial for the monstor hunt game.