Game Development Community

Skinning UI

by Tim Pynegar · in Torque 3D Professional · 06/11/2009 (7:14 am) · 1 replies

Hi,

We've got an issue skinning the ui we have. We've found this link here

http://www.garagegames.com/community/blogs/view/7279

so we can skin buttons and change the existing ui's colour etc but i was
hoping to find some info on how i can set the images coordinates for the
various elements on more complex ui controls.

For example say we'd like to have a checkbox that is more rectangular
or some other shape where can we specify the coordinates of the various
states for the checkbox in the source image.

Thanks,
Tim.

#1
06/11/2009 (7:49 am)
Each type of element uses a image map with the various components separated by a color (the color at top-left pixel). The images must be laid out in the same order as the existing ones (from the left to right), but you can use whatever sizes you want for the elements. so you can have windows with massive borders or giant scrollbars.

Just open the images in core\art\gui\images and try editing them. Just remember to keep the same layout if you change sizes.