Game Development Community

GuiBitmapCtrl Questions

by nibbuls · in Torque Game Engine · 08/03/2004 (8:08 am) · 2 replies

Hey

I have been trying to get a simple button graphic on top of my plain old RW buttons. No matter what I type in under the bitmap box, nothing works. I think it should look like this, but I'm not sure.

starter.fps/data/button/button1
or
starter.fps/data/button/button1.png

Do I have to add any code for a simple button? Can it be a png or a jpeg?

Sorry about this post, but I looked through the resources and none of them worked or worked the way I wanted them to.

#1
08/03/2004 (10:55 am)
Do you get any console errors?
#2
08/03/2004 (12:12 pm)
Do you mean GuiBitmapButtonCtrl then it should be

on the bitmap it should be starter.fps/data/button/button1


and the files in that folder should be named

button1_n.jpg
button1_d.jpg
button1_h.jpg
button1_i.jpg
or png

n = normal
d = down
h = highlite
i = inactive