Need 1.5.2 Mouseover Buttons
by Nicolai Dutka · in Torque Game Engine · 08/08/2007 (11:43 am) · 4 replies
I found some code that makes mouseover functions work in Torque 1.4.x but the code is no longer supported in 1.5.x.
I need to know how to make "Mouseover GUI Buttons" in Torque 1.5.x. Right now my GUI buttons look good, but need that little extra flair and "reinforcement" when you mouseover them.
I need to know how to make "Mouseover GUI Buttons" in Torque 1.5.x. Right now my GUI buttons look good, but need that little extra flair and "reinforcement" when you mouseover them.
#2
baseName_n - (normal)
baseName_h - (highlighted)
baseName_d - (depressed)
baseName_i - (inactive)
Then in the guiBitmapButton control point the bitmap field to just the baseName (no extension or _n/h/d/i needed)
08/08/2007 (1:36 pm)
@kingdutka - That functionality works just fine in 1.5.2 (it's built into the engine). You can have 4 versions of your button (guiBitmapButton). Name your bitmaps:baseName_n - (normal)
baseName_h - (highlighted)
baseName_d - (depressed)
baseName_i - (inactive)
Then in the guiBitmapButton control point the bitmap field to just the baseName (no extension or _n/h/d/i needed)
#3
08/08/2007 (1:55 pm)
Very nice THANK YOU!
#4
08/09/2007 (7:00 am)
How is this different from 1.4? or were you using mouseEvents in 1.4?
Torque Owner Barry Gallagher