Game Development Community

How to change coordinate in TGB?

by Nusorn Photpipat · in Torque Game Builder · 11/20/2007 (8:36 pm) · 1 replies

I'm starter in TGB and I've some problems,please help me.

How to change coordinate in TGB from default ( center ) to top left coordinate.

thanks you for your reply.

About the author

Recent Threads


#1
11/23/2007 (4:20 pm)
Is there a reaason why you want to change the coordinates? The easiest way is to move the camera when the level loads.

SceneWindow.SetCameraPosition(400, 300);

I think is the way to do it. That way you move the camera such that the origin is in a corner of the screen instead of the center.