AlexL
New Member
Posts: 1
|
Post by AlexL on Nov 26, 2004 20:57:24 GMT
I've just started out using XLnt2, and so far have fallen in love with it =D Though I can't seem to get the GUI_3DPORT's to work correctly. I am simply trying get a camera to rotate in the viewport when the right mouse button is pushed and the mouse moved. Though I can't get it to work correctly, if anyone could offer some help I would be very greatful =)
Repeat If EV_WIN_CLOSE(main_Window) Or EV_MENU_SELECT(mnu_FileExit) Then exitApp() If EV_GAD_RDOWN(MyViewPort) TurnEntity cam_pivot,MouseXSpeed/2,MouseYSpeed/2,MouseZSpeed/2 EndIf currentFrame = 1 - currentFrame If currentFrame = 1 GUI_RENDER3D(MyViewPort) EndIf RenderWorld GUI() GetFPS() AppTitle "FPS: " + FPS Flip False SetBuffer BackBuffer(): Cls Forever
EDIT: EV_GAD_RDOWN is just a modified version of EV_GAD_DOWN, but for the right mouse button.
#nosmileys
|
|