Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Gabriel Fernandes

8
Posts
3
Topics
2
Followers
13
Following
A member registered Oct 19, 2020 · View creator page →

Creator of

Recent community posts

When I replace the noto-regular font with some pixelart font, the bubble boxes sizes behave strangely.

Any tips on replacing the default fonts?

Muito bom! Parabéns!

Difícil jogar com touchpad!

Muito bom! parabéns!

Great work! The result is amazing!

Is it possible to run this offline?

Show! ótimo protótipo!

I admit it's a bit hard customizing from the examples.

Are you editing the json in a text editor or are you using the Dialog Designer application? Open a new thread with your question, maybe post the file or code your using... I can have look. I'm starting too, but I think I've got everything figured out, although I'm only working with bubble messages for now.

I'm not sure if this helps, but I tried changing a line of code (24) in the TextureBackground.gd file. This makes sure that margin property is always set, instead of testing it against the max_width. After more testing I will post if the change worked.

So:

if self.rect_size.x > max_width:
   $Text.autowrap = true
   self.margin_right = max_width / 2
   self.margin_left = -max_width / 2

Became:

if true: 
   $Text.autowrap = true
   self.margin_right = max_width / 2
   self.margin_left = -max_width / 2

Sometimes (seems random) a bubble will just appear in one horizontal line and not respect max width or wrapping. Is there way to avoid this?

apparent random wrong bubble size.... 

while most of the time it shows the correct size: