Mouse Events Tutorial?
by Tray Weeds · in Torque Game Engine Advanced · 01/21/2009 (9:24 pm) · 1 replies
I've been looking for a decent TGEA mouse events tutorial on tdn and the forums but have not been able to find anything. There seem to be some decent 2D resources but they are older and not relevant to TGEA.
I'm fairly new to TGEA and Torque Script. What I'm trying to do is create a RPG where the player can navigate to dts objects in the game, click on them (left mouse down), and then have them popped into a GuiObjectView so they can zoom and rotate around. The object viewer is simple enough.
This is differnt than the player selection tool in T3D because I need the player to be able to navigate to dynamic objects in the game and click on them so there would probably need to be some collisions between the cursor and the objects that would have to be captured? Is this possible in TGEA? I'm not sure of the best way to do this.
Seems to me something like this would have been encountered already by someone else but I can't find any tutorials where I can learn and play with. I'd be willing to write up a decent tutorial post if someone can point me in the write direction so others in my spot can use it as well.
Thanks
I'm fairly new to TGEA and Torque Script. What I'm trying to do is create a RPG where the player can navigate to dts objects in the game, click on them (left mouse down), and then have them popped into a GuiObjectView so they can zoom and rotate around. The object viewer is simple enough.
This is differnt than the player selection tool in T3D because I need the player to be able to navigate to dynamic objects in the game and click on them so there would probably need to be some collisions between the cursor and the objects that would have to be captured? Is this possible in TGEA? I'm not sure of the best way to do this.
Seems to me something like this would have been encountered already by someone else but I can't find any tutorials where I can learn and play with. I'd be willing to write up a decent tutorial post if someone can point me in the write direction so others in my spot can use it as well.
Thanks
About the author
Torque 3D Owner Tray Weeds