Game Development Community

Help with gui code main menu

by Jonathan · in Torque Game Engine · 11/17/2007 (7:29 am) · 2 replies

Hello!
I need help with the gui to the main menu. the problem is that I can't get this working like I wan't to.

This is how the meny looks like:
[IMG]http://img45.imageshack.us/img45/4293/menygbbt1.th.jpg[/IMG]

This is how I want it to look like:
[IMG]http://img403.imageshack.us/img403/2758/menybggu6.th.jpg[/IMG]

How can I fix this?
that I want is to take away the box around New game and make it transparent. and make the text bigger and change the color...



Thx for all the help!

// Jonathan

ps: sorry for my bad english ^^

#1
11/17/2007 (10:06 am)
Hello,

The standard button control won't really work the way you're hoping. However, there is something that can help . . .

What you should probably do is use the guibitmapbutton control instead of the regular button element. Of course, doing it that way requires you to create multiple versions of each button image (normal state, highlighted state, pressed down state, and inactive state). Yes it can be time consuming and tedious, but all that work in Photoshop, Gimp or Paint.net will be worth the extra effort once you see your shiny new bitmap buttons in action.

For more info, check out my answer regarding GUI buttons in this thread . . .

www.garagegames.com/mg/forums/result.thread.php?qt=53566

Good luck and have fun.
#2
11/17/2007 (5:08 pm)
Thx m8, yea i found a tread here on garagegame forum after a hard search.. but thx for trying to help me ;)