Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Mel_O_Die on Fri 08/09/2006 12:55:22

Title: Customize the dialog option box (solved)
Post by: Mel_O_Die on Fri 08/09/2006 12:55:22
Hi! I'm here with a new little question,

when a dialog starts and we have to choose something to say, there is a black rectangle at bottom of the screen with the possible options in it.

The thing i want to make is to customize this black shape with my own graphics

what should i do for it ?

making a gui ?
wich items does it contain to display the dialog options ?
how can i declare it and make it replace the rectangle ?

thanks :)
Title: Re: Customize the dialog option box
Post by: on Fri 08/09/2006 12:58:47
I think you would just make a new GUI, and then on the Game Settings menu just tick "Dialog options on GUI" and enter the number of the new GUI.*

*But I'm by no means an expert, so I could be very wrong.
Title: Re: Customize the dialog option box
Post by: Mel_O_Die on Fri 08/09/2006 13:22:15
awww i'm blind  ::) sorry for the inconvenance

but, with that it works fine, but the options are stuck on the left, how can i do to shift them a little to the right without changing gui x,y position (i need that cause of my gui's borders)
Title: Re: Customize the dialog option box
Post by: strazer on Fri 08/09/2006 13:59:23
Use game.dialog_options_x / game.dialog_options_y (http://www.adventuregamestudio.co.uk/manual/Globalvariables.htm) in your game_start function.
Title: Re: Customize the dialog option box (solved)
Post by: Mel_O_Die on Fri 08/09/2006 14:54:06
thanks very much!

it works great :)
Title: Re: Customize the dialog option box (solved)
Post by: strazer on Fri 08/09/2006 15:01:34
Cool! :)