Game Development Community

Bitmap button mouseover and pree

by Hasitha · in Torque Game Engine · 03/14/2007 (5:25 pm) · 0 replies

I downloaded Torque moderately recently, enough to know how to get around the two editors. I'm not fluent in either TorqueScript or C++ (I do more Flash, and a little Java, but since Torque was all OOP, I thought I would give it a go).

I was looking at the GuiBitmapButtonCtrl. I noticed that when you added a bitmap, the mouse-over effects would disappear. How do I get the button to change into a different one on mouse over, and back into the first one on mouse out? Also, can this be applied to the mouse clicking the button as well?

I have Torque 1.4, downloaded directly from GG. I have not made any modification to the source code. I have imported a bunch of junk from Blender and QuArK, but that shouldn't be associated with this problem.