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.

[Resolved] Problem with Fonts.

Status
Not open for further replies.
Insert this below the begin in Main:
Code:
Font.default_name = ['FONTNAME', 'MS PGothic']
Font.default_size = 22
Font.default_bold = false
Font.default_italic = false
If you use my Font Addon script, you can add these below that:
Code:
Font.default_underline = false
Font.default_strikethrough = false
Font.default_outline = false
Font.default_outline_color = Color.new(0, 0, 0)
Font.default_shadow = false
Font.default_shadow_color = Color.new(0, 0, 0, 100)
Just change the values to what you want. If using the Font Addon script, you cannot have both an outline and a shadow on at the same time.
 
It worked perfectly.
Just a question, I saw that italic option, if I would to use, how would I set it up?

If I change false to true it will always be in italic, I would like to use italics in the Message System.

Thank you very much.
 
Status
Not open for further replies.

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