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] Changing the default font for all message windows...

I've searched for a while and only found scripts to change title screen/menu fonts, I'm looking for a way to change the font in all of my message boxes.

Any help would be appreciated.
 

ikos

Member

I remember doing this. Ghh.
It's been so long. Maybe in the Game/Scene scripts. (I think it was towards the bottom)
I remember that Font Size was right below it.
 
King of Red Pancakes":1bfzg6j7 said:
I think you just need to add in a line in main anywhere below begin like "font = "fontnamehere"" or something like that.

I tried a few similar scripts but they only changed the title/menus font, the text messages are still default.
 
Here, add this to line 24 of Window_Base. (So that it is just after self.z = 100 and just before end)

Code:
Font.default_name = ["Times New Roman", "MS PGothic"]

Then, simply change Times New Roman to whatever font you want. (If the player does not have the font on their computer, or the name is wrong, text is displayed in the default RMXP font, MS PGothic) Also, I would avoid makng it too fancy a font, as that would make it difficult to read.
 
riskVSreward":2uj8ls9n said:
Apparently I have a script conflict somewhere because this too only changed my title screen and menu fonts.

All that means is that something else changes the font. Try searching font in each window script, and see which ones have it modified.

Hint: You can use ctrl+shift+f and search in all scripts.
sorry for the hijack, just pointless making a new post
 
Copy your scripts.rxdata from the data folder and share it with me. I'll take a look, because this is just getting silly. It's font, something that shouldn't take more than 10 seconds to figure out (not 10 replies). XD
 

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