Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: johanvepa on Wed 04/11/2015 22:40:01

Title: SOLVED: Buttons standard colour
Post by: johanvepa on Wed 04/11/2015 22:40:01
All my buttons have grey background by default, and white and black outlines. I can't seem to change them into anything else other than by giving them an image. But this seems impractical when there are lots of buttons. Is there a way to make the background color of buttons white? And while we're at it, is there a way to change the outline of a button from the black and white lines into something else?
Title: Re: Buttons standard colour
Post by: Khris on Wed 04/11/2015 23:45:40
The only way to do what you want without tons of images is to write a function that draws the images on the fly, stores them in global DynamicSprites, then sets those as your button graphics.
Title: Re: Buttons standard colour
Post by: MiteWiseacreLives! on Thu 05/11/2015 05:15:19
I would recommend just drawing one generic button, perhaps with a depressed image as well, and use that for your many buttons..
Not ideal, but like Khris says, ags just doesn't have that feature.
Title: Re: Buttons standard colour
Post by: johanvepa on Thu 05/11/2015 21:15:55
I asked one question and got two good answers.

Thanks folks :)