Game Development Community

Origin of GUI objects

by Nathan Bowhay - ESAL · in Torque Game Engine · 06/26/2006 (4:12 pm) · 4 replies

How do you set the individual origin for a GUI object?

This is so that when you have a 1280x1024 you change it to the top right part of the screen it wont go of the screen when you run it in a lower res.

#1
06/26/2006 (4:33 pm)
Position your elements in the lowest resolution you intend to support.
#2
06/27/2006 (8:02 am)
Thats what I would normally do, but it should adjust depending on the res. It does for the other gui objects aready there. That is what is throwing me off.

I think it has something to do with the other options like right, left center, width...

I was able to align the top so it doesn't go off in the y direction, now I am working on the x.
#4
06/27/2006 (1:50 pm)
Thank you so much this is perfect!