can't expand dialog option GUI

Started by harmonicapress, Sat 18/07/2015 06:23:22

Previous topic - Next topic

harmonicapress

I've imported a really cool font but I had to expand the # of pixels between dialog options to 5px in the general settings so the dialog options wouldn't overlap one another, now my top dialog option hangs off of a few pixels at the top of the black background, cutting off the top option. I couldn't find the dialog box gui in the gui tree or any instructions in the manual on how to change the size of that black band. A little help? thanks!!!:-X

Crimson Wizard

Quote from: harmonicapress on Sat 18/07/2015 06:23:22
I've imported a really cool font but I had to expand the # of pixels between dialog options to 5px in the general settings so the dialog options wouldn't overlap one another, now my top dialog option hangs off of a few pixels at the top of the black background, cutting off the top option. I couldn't find the dialog box gui in the gui tree or any instructions in the manual on how to change the size of that black band. A little help? thanks!!!:-X
Actually, that sounds like a bug in AGS, which has to calculate size of the default black background properly. Could you tell which version of AGS are you using, which game parameters (resolution, number of options in the dialog), and give a link to the font? I would like to see this myself.
(It would be also nice if you could make a screenshot)


Regarding changing background for dialog options, go to "General Settings" -> "Dialogs" -> "Use GUI for dialog options" - this is where you set a number of GUI to be used as a background. (Frankly, I could not find explicit information on this in the manual, except for the line inside "Game options" topic, which is a shame really)
Also, when you get more experience with scripting, you could check Custom Dialog Options Rendering for more control over its looks and behavior.

harmonicapress

Using version 3.3.2, I am working with 800x600 res, here's the link to the ttf font, its called pixel noir, (so appropriate for my game:))
http://www.dafont.com/pixel-noir.font
and finally, below is the screenshot of the cutoff dialog. reminder, I already had to increase the distance between dialog options to 5px, but it was cutting it off at the top before then as well (the box actually got bigger when I increased the space between options but the top of the box still cut of the first two pxls of the 1st dialog option).
http://harmonicapress.tumblr.com/image/124427522364

Thanks!

SMF spam blocked by CleanTalk