Suggestion: Setting line spacing in multi-line dialog options

Started by cjhrules, Wed 09/08/2006 21:26:28

Previous topic - Next topic

cjhrules

hi!
I am having problems with long dialog options. When an option gets so long it changes line the space between the lines are 0. Can I do anything about that?

monkey0506

Perhaps changing the size of the font? However...I thought AGS automatically moved the next line down by one or two pixels...?

cjhrules

#2
Normally the line space is good between the different dialog options... But when an option takes more then one row the problems begin... No one have a solution to this?

Edit (Don't double-post):

anyone know what to do?
I can send a screen on this problem if someone have time to help.

strazer

It certainly wouldn't hurt to post a screenshot.

cjhrules


bullfrog

General settings->Dialog->Pixel gap between options

Or inside the script:
SetGameOption (OPT_DIALOGOPTIONSGAP, [value])

cjhrules

#6
Actually the gap between the options is as it should be... it's the gap between the lines in the same option that is the problem...

GarageGothic

Do you actually get overlappings? I can see that the top of the "l" would probably touch the bottom of the "g", but not in a way that would affect readability. To me it looks like this is as-designed, it makes sense that there's a bigger vertical space between separate options and between lines belonging to the same option.

If the main issue is that they don't align to the background, either remove the background or shorten the lines. In my opinion a dialog option should never contain the full spoken line anyway, unless it's very very short - just summarize it and you'll fit it into one line.

cjhrules

Well there is one dialog option that I would like to show that is that long... but I might have t oshorten it down. I don't want to change the GUI of course fo just one dialog

Kweepa

#9
Surely this deserves a tracker entry.

Quote from: GarageGothic on Fri 11/08/2006 16:00:47
it makes sense that there's a bigger vertical space between separate options and between lines belonging to the same option.
Unless of course you have visible horizontal lines. [Edited for the tourettes-afflicted GG.]

Quote
In my opinion a dialog option should never contain the full spoken line anyway, unless it's very very short - just summarize it and you'll fit it into one line.
I disagree. When playing a game I like to see exactly what I'm committing my character to.
Also, depending on the font, one line might not be enough for a reasonable summary.
Still waiting for Purity of the Surf II

cjhrules

#10
that is my opinion also. And since I want to get the Lucas Arts feel in my game I wanted to  see if it was possible or not.

GarageGothic

#11
Quote from: SteveMcCrea on Fri 11/08/2006 21:29:15
Quote from: GarageGothic on Fri 11/08/2006 16:00:47
it makes sense that there's a bigger vertical space between separate options and between lines belonging to the same option.
Unless of course you have horizontal lines.

What the fuck are you talking about?

Edit: I realize that it should have said "it makes sense that there's a bigger vertical space between separate options THAN between lines belonging to the same option." But even so, line spacing between horizontal lines is vertical, I don't get what you're saying.

strazer

Quote from: SteveMcCrea on Fri 11/08/2006 21:29:15Surely this deserves a tracker entry.

Maybe it's something easily fixed for the next beta. Let's see what CJ has to say first.

Pumaman

This was a deliberate decision, so that wrapped options are easily distinguished from separate options. However, a separate setting for the line spacing in multi-line options wouldn't hurt.

Gilbert

#14
Quote from: GarageGothic on Fri 11/08/2006 23:49:58
Edit: I realize that it should have said "it makes sense that there's a bigger vertical space between separate options THAN between lines belonging to the same option." But even so, line spacing between horizontal lines is vertical, I don't get what you're saying.

I think I understand what Steve said though. It makes sense to have bigger gaps between different options than between text of the same option spawning multiple lines, however, in case there's a background with visible (as Steve added later to clarify the meaning) horizontal lines (like the posted screenshot) it looks like a single line paper, and in this case it may sometimes look better if the gaps are all even regardless of whether they're from the same option or not, so to align better with the lines.

Edit:Trackered.

cjhrules

Any news on this? Been waiting since 2006, or maybe someone have a work around?

monkey0506

The workaround would be to use a custom dialog. Look up the custom dialog rendering information in the manual. And that CustomDialogGui module that abstauber wrote may be able to do this (I don't know for sure) already.

SMF spam blocked by CleanTalk