How to modify GuiSliderControl bitmap?
by Raja John · in Torque Game Builder · 12/23/2008 (9:24 pm) · 2 replies
Hi everyone..
i almost done my sample game, in my game i wanna control the master volume and effects volume by GuiSliderControl. I have done this perfectly, but i cant change the images for GuiSliderControl.
In ~Common/gui/profiles.cs..
If i change the "slider" nothing happened. I wanna use slider control like this..

is this possible in TGB? or any other method for this?
Thank You..
i almost done my sample game, in my game i wanna control the master volume and effects volume by GuiSliderControl. I have done this perfectly, but i cant change the images for GuiSliderControl.
In ~Common/gui/profiles.cs..
if(!isObject(GuiSliderProfile)) new GuiControlProfile (GuiSliderProfile)
{
bitmap = "./images/slider";
};If i change the "slider" nothing happened. I wanna use slider control like this..

is this possible in TGB? or any other method for this?
Thank You..
About the author
#2
i tried ur solution but nothing changed, how can i modify the default template
like the previous image i posted early?
Thank You.
12/28/2008 (8:30 am)
Hi Don!i tried ur solution but nothing changed, how can i modify the default template
like the previous image i posted early?Thank You.
Torque Owner Don Schaper
XIX Software
new GuiControlProfile (GuiSliderProfile) { bitmap = "~/data/images/GUI/sliderGame"; };The sliderGame.png was created using the default image as a template.