Game Development Community

GUI Buttons

by SergeantMossimo · in Torque Game Builder · 10/12/2010 (2:19 am) · 1 replies

I am relatively new and I am currently running TGB 1.7.4.

I noticed this being spit out in my console as I am testing my game and I asked a friend about it. He says TGB has built in button states but even when I follow the naming conventions spewed out in the console it doesn't seem to want to work. Is there something I am doing wrong? Below is a sample of what is coming across the console.

Could not locate texture: game/gui/GUI Images/MenuButton.png_h
Could not locate texture: game/gui/GUI Images/MenuButton.png_d
Could not locate texture: game/gui/GUI Images/MenuButton.png_i

Thanks for any help!

#1
11/02/2010 (7:44 pm)
In your Gui where you put in the image location 'game/gui/GUI Images/MenuButton.png' remove '.png' from the end so it's just 'game/gui/GUI Images/MenuButton'
Then in your GUI Images folder manually copy your 'MenuButton.png' 3 times and rename them
'MenuButton_h.png'
'MenuButton_d.png'
'MenuButton_i.png'
and the error should go away.