Bitmap buttons.
by Ferret · in Technical Issues · 07/16/2003 (2:25 am) · 5 replies
Hi,
Can i use bitmaps for buttons using scripting or do i need code to do that?
I found some resources about it but they all need coding.
What is the bitmapControll for, can i make it act like a button?
Thx.
Can i use bitmaps for buttons using scripting or do i need code to do that?
I found some resources about it but they all need coding.
What is the bitmapControll for, can i make it act like a button?
Thx.
About the author
#2
Basically just copy the code in the engine for the bitmaps and make it so that it loads two bitmaps, then when you mousever, sets a var, then has it render the second bitmap or something.
07/16/2003 (4:45 am)
Yes theres a way to do this with pictures, but you'de have to modify the engine. There's not really anything you'de be able to do via scripting. But the engine coding for it wouldnt be too hard i'de imagine.Basically just copy the code in the engine for the bitmaps and make it so that it loads two bitmaps, then when you mousever, sets a var, then has it render the second bitmap or something.
#3
07/17/2003 (4:56 am)
Ok, thx for the info.
#4
09/10/2003 (8:11 am)
Here is the best resource on bitmap buttons so far: www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=3857
#5
(which is basically all a bitmap button is)
09/10/2003 (8:14 am)
If you dont have access to Torque code, you can fake it with a bitmap ctrl and mouseevent ctrl.(which is basically all a bitmap button is)
Torque Owner Dr. John Nobody