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.

Text Not Showing

Okay, This is probably the stupidest question alive but, When you use regular text in RMXP the text somtimes dosen't show all the way is that a problem with my font size, RGSS, or Maybe my window skin?
 
Do you mean the text is cut off early?

That could be because it is not given the width it needs in the draw_text command. If you know where the text is drawn in a script, look for

Code:
self.contents.draw_text(x, y, width, height, text)

and edit the 'width' to be longer.

An alternative solution would be to lower the font size. To do this, try putting Font.default_size -= 2 in Main.

If you just can't see the text period, the font is not being set correctly. Try setting Font.default_name.
 
Astromech":r7867x0o said:
Do you mean the text is cut off early?

That could be because it is not given the width it needs in the draw_text command. If you know where the text is drawn in a script, look for

Code:
self.contents.draw_text(x, y, width, height, text)

and edit the 'width' to be longer.

I'm having the same problem with the text cutting off in some lines. Where is the draw_text command (or whatever the line is that I need to edit the width)? Thanks for your help.
 

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