Page 1 of 1

Speech bubble padding

Posted: Mon Mar 25, 2024 8:34 am
by RewindTheGame
Hi all,

I'm just starting to convert the dialogue text in my game to the new(ish) speech bubble system, and would like to know how to change the padding within the bubbles themselves. I'm having a lot of trouble with this and nothing seems to work.

Basically, I consider the space between my text and the top/bottom of the bubble to be ridiculously massive and would rather there was hardly any padding at all - but I can't work out how to reduce this. I'm probably missing something really obvious.

Thanks in advance for any help,

Simon

Re: Speech bubble padding

Posted: Mon Mar 25, 2024 9:11 am
by jeffster
RewindTheGame wrote: Mon Mar 25, 2024 8:34 am Hi all,

I'm just starting to convert the dialogue text in my game to the new(ish) speech bubble system, and would like to know how to change the padding within the bubbles themselves. I'm having a lot of trouble with this and nothing seems to work.

Basically, I consider the space between my text and the top/bottom of the bubble to be ridiculously massive and would rather there was hardly any padding at all - but I can't work out how to reduce this. I'm probably missing something really obvious.

Thanks in advance for any help,

Simon
Open screens.rpy file and search for "bubble". See their "properties" etc.

Re: Speech bubble padding

Posted: Mon Mar 25, 2024 9:26 am
by RewindTheGame
Thanks, but I don't know which property to change and there doesn't seem to be one for padding anyway. The only properties I can see are for top left, bottom right, etc - and they are presumably concerned with the transformation of the bubble itself according to where the trail is.

Re: Speech bubble padding

Posted: Mon Mar 25, 2024 11:18 am
by jeffster
RewindTheGame wrote: Mon Mar 25, 2024 9:26 am Thanks, but I don't know which property to change and there doesn't seem to be one for padding anyway. The only properties I can see are for top left, bottom right, etc - and they are presumably concerned with the transformation of the bubble itself according to where the trail is.
Ah, you are right. To set the bubble size you start the game and when the dialog bubble is on screen, press Shift-B and click "area" to set its size.
https://renpy.org/doc/html/bubble.html

Re: Speech bubble padding

Posted: Mon Mar 25, 2024 12:21 pm
by RewindTheGame
Thanks Jeffster,

That's what I was doing, but for some reason it hadn't occurred to me that the padding would automatically size according to the size of the bubble. Duh. I just assumed it would be fixed.

Having said that, I've had to change the granularity (interesting use of that word, there) of the sizing grid in order to get the bubbles where I want them.

Thanks again.