Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Lukey J on Sun 05/04/2020 13:32:35

Title: Dialogue Options Colour Different to Characters Talking Colour
Post by: Lukey J on Sun 05/04/2020 13:32:35
Hi guys,

So have I have a Dialogue Options

the colour seems to be white and matching the colour of the main Char. with a yellow scroll over colour

(https://i.ibb.co/2nhfRhS/Untitled-1.gif) (https://imgbb.com/)

i cant seem to find how to change the yellow colour
and i'd like the Dialogue Options colour to be black but keep my char text colour white

(https://i.ibb.co/9nsT7X4/Untitled-2.gif) (https://imgbb.com/)

any ideas
Title: Re: Dialogue Options Colour Different to Characters Talking Colour
Post by: Slasher on Sun 05/04/2020 13:46:00
I believe it's

Code (ags) Select

game.dialog_options_highlight_color = xxx;  // color number
Title: Re: Dialogue Options Colour Different to Characters Talking Colour
Post by: Lukey J on Sun 05/04/2020 15:05:09
Nice one,

that changed the roll over colour, any idea how to change the main Dialogue colour

it seems to be liked to the main players speech colour?

any ideas
Title: Re: Dialogue Options Colour Different to Characters Talking Colour
Post by: Slasher on Sun 05/04/2020 16:23:08
I'm not sure if this has been dealt with.. But I suppose you could change player speech colour whilst dialog options are running...and re-colour as each option returns/ends..

Code (ags) Select

player.SpeechColor=xxx; // colour number at  very top of dialog option window, as one suggestion.. I'm sure there is an easier way..
Title: Re: Dialogue Options Colour Different to Characters Talking Colour
Post by: Lukey J on Mon 06/04/2020 09:36:05
or is there away to have the options in its own text box that can change hight and weight depending on the text?


(https://i.ibb.co/19jV4F0/Capture.png) (https://imgbb.com/)

I've had a quick play with New Text Window GUI but no luck?

Title: Re: Dialogue Options Colour Different to Characters Talking Colour
Post by: Crimson Wizard on Mon 06/04/2020 10:10:11
Lukey J, this and your other problem with dialog options may be solved using Custom dialog options rendering: https://www.adventuregamestudio.co.uk/manual/ags41.htm#CustomDialogOptions

Then you can draw anything you like.

On the other hand, if you are doing something unusual, such as phone messenger style conversation, maybe standard dialogs is not very suitable, but I guess you could try custom rendering first and see how it goes.