Fuel/Speed/Manual Gauge Bitmap Meter
by Jorge Luis Gandulfo · 10/06/2003 (8:50 am) · 8 comments
Download Code File
Basing over the Code of Frank Bignone, i added the functionality of Auto refreshing the values of the control from the Speed and Fuel levels of the current mounted vehicle.
Also the control can be set in manual mode and set the value.
You can handle the max and min angles to adjust your spin movement.
In this version spinBitmapOffset is the replace for the old version spinOffset.
And there is a new variable called spinOffset, that moves the center of the spin to the desirex (x,y), i used this feature in the screenshot so the fuel meter can have the center of the spin in other position.
Read this link to see the basic code www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=2676
Simply copy the supplied .cc and .h to the engine/gui directory.
I have included also a simple speed meter and the fuel meter supplied by Frank.
Compile and you will be able to add this feature to your gui, enjoy!!
Tnx frank for the original code in the first place!
Basing over the Code of Frank Bignone, i added the functionality of Auto refreshing the values of the control from the Speed and Fuel levels of the current mounted vehicle.
Also the control can be set in manual mode and set the value.
You can handle the max and min angles to adjust your spin movement.
In this version spinBitmapOffset is the replace for the old version spinOffset.
And there is a new variable called spinOffset, that moves the center of the spin to the desirex (x,y), i used this feature in the screenshot so the fuel meter can have the center of the spin in other position.
Read this link to see the basic code www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=2676
Simply copy the supplied .cc and .h to the engine/gui directory.
I have included also a simple speed meter and the fuel meter supplied by Frank.
Compile and you will be able to add this feature to your gui, enjoy!!
Tnx frank for the original code in the first place!
About the author
#2
10/07/2003 (6:23 am)
looks good!
#3
10/07/2003 (6:17 pm)
Very Nice!
#4
10/09/2003 (8:32 am)
Birdman you are the best ;)
#5
www.autometer.com/
Here you can find nice looking Gauges, i used some of them in the screenshot above.
In the Bike i was riding there, i used real Bike Meters!
Have Fun!
10/17/2003 (12:00 pm)
I forgot to add this linkwww.autometer.com/
Here you can find nice looking Gauges, i used some of them in the screenshot above.
In the Bike i was riding there, i used real Bike Meters!
Have Fun!
#6
07/17/2006 (5:38 pm)
This doesnt even compile.... I would really like to use this
#7
I posted the details to fix it at the bottom of the resourse.
Not sure if it would fix this version of it but at least you can start using the basic control.
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=2676
10/20/2006 (6:18 pm)
I had problems with the original as it wouldn't compile in torque 1.4 but I managed to fix it.I posted the details to fix it at the bottom of the resourse.
Not sure if it would fix this version of it but at least you can start using the basic control.
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=2676
#8
12/23/2006 (3:15 pm)
Thank Jorge , it is very good work 
Torque Owner Alex \"bathala\" Rufon