Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Aproblem with my UMS script

Im currently useing the Universal Message System v1.6.3 by Ccoa (UMS chat script)

I find it all work's fine for me except one part. which is when i have txt boxes fitting to text size useing the script code:
$game_system.ums_mode =
FIT_WINDOW_TO_TEXT

it cuts off the bottem of text on last line.

Textproblem.jpg

When i look at the demo it dosent cut off at all and im useing the same code.
can anyone please help me fix this problem.
 
It looks like you're using a different font / font size???

find the line:

if !line.include?("\023")

3 places. add the following line right after it:

self.contents.font.size = Font.default_size


This will take care of the height when you're in FIT mode.
When in normal mode you will still need to take care to not make the text exceed the size of the window.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top