Game Development Community

Top-Down Gui Cursor?

by Brandon Pollet · in Torque Game Engine · 02/24/2005 (4:16 pm) · 0 replies

I'm trying to make a top-down 2D cursor, like the cursor in Zap, but I don't know the best way to do it.
I want the mouse to control the cursor and then make the player target the coords of the cursor. Do I need to extend gameTSCtrl, or a guiTSCtrl, or none of the above? Once I make a new gui how do I get the mouse coords and map them to world coords? Any help would be appreciated.

Thanks.

About the author

Brandon earned a Master's of Science in Computer Science from the University of Tulsa in 2005 before they asked him to leave. Since then he has worked in web development and mobile development all while honing his game design/programming skills.