About Buttons
by Wonglee · in Torque Game Engine · 04/12/2005 (11:40 pm) · 5 replies
I wanna put an image on my button, what should I do?
thanks
thanks
About the author
#2
05/10/2005 (6:23 am)
Thanks Todd, but it says that i do not have access to the thread...
#3
Anyways heres the rundown.
Use the guiBitmapButton
In the properties enter the name of the image file WITHOUT the file extension.
ie.
demo/client/ui/background
and not
demo/client/ui/background.bmp
Also for the actual file names you must place _n , _d, _h, _i trailing each name.
So for background it would be:
background_n.bmp
background_d.bmp
background_h.bmp
background_i.bmp
h = hover
n = normal
d = down
i = inactive
05/10/2005 (7:28 am)
Oops sorry thats a private forums thread.Anyways heres the rundown.
Use the guiBitmapButton
In the properties enter the name of the image file WITHOUT the file extension.
ie.
demo/client/ui/background
and not
demo/client/ui/background.bmp
Also for the actual file names you must place _n , _d, _h, _i trailing each name.
So for background it would be:
background_n.bmp
background_d.bmp
background_h.bmp
background_i.bmp
h = hover
n = normal
d = down
i = inactive
#4
05/11/2005 (4:22 am)
Thanks Todd, problem solved.
#5
03/09/2009 (1:59 am)
thanks Todd,heartfelt!
Torque Owner Todd D. Degani