Scaling Buttons on MouseOver
by Orion the Hunter · in Torque Game Builder · 11/06/2012 (7:45 am) · 4 replies
Hello,
Happy election day!
I was wondering if I could make it so that when the mouse hovers over any button, the button will slightly grow, like in the BlackJack demo.
I've tried various venues on TDN and even examined the BlackJack game's source, but there is nothing quite like it on TDN and I can't make heads or tails of the scripts in the game's files.
Any help is appreciated! Thanks.
Happy election day!
I was wondering if I could make it so that when the mouse hovers over any button, the button will slightly grow, like in the BlackJack demo.
I've tried various venues on TDN and even examined the BlackJack game's source, but there is nothing quite like it on TDN and I can't make heads or tails of the scripts in the game's files.
Any help is appreciated! Thanks.
#2
11/06/2012 (3:46 pm)
TGB already has a function like that, but what i wanted is for it to be more smooth. Like a couple frames, not just two. In the BlackJack example, it has a Gui Behavior. I don't know how to implement this in anything else...
#3
Some very nice people helped me to understand scaling.
11/06/2012 (4:07 pm)
Have a look at this www.garagegames.com/community/forums/viewthread/131761Some very nice people helped me to understand scaling.
#4
11/08/2012 (11:15 am)
Well, I'm referring more to gui buttons. Do you know how to do that?
Torque Owner Lukas Joergensen
WinterLeaf Entertainment