Is there any way to quickly change the font being used to draw text on the message box? Something like SetFont("Verdana", 22) ?
Set font type
● ARCHIVED · READ-ONLY
-
-
Use it as a script call :)
Code:Font.default_name = "Verdanna"Font.default_size = 22 -
I saw someone mentioning that before I posted this thread and I tried it to use it but it didn't work. I have my font in a Fonts folder at the game's top level folder. Am I missing something?
-
Replace Main witht this then (I took this from Celianna, but I dont think she requests any credit for it or if she made it herself)
Code:#==============================================================================# ** Main#------------------------------------------------------------------------------# This processing is executed after module and class definition is finished.#==============================================================================Font.default_name = ["FONTNAMEHERE"] #Put your font hereFont.default_size = 22 rgss_main { SceneManager.run } -
He is changing the font but not to the one I'm setting. I'm using a cursive like font and it just displays another plain font like the default one.
-
You should try a message script. I believe Yanfly has a message script that lets you set different fonts for different uses. :)
-
Thanks will look into it.
Edit:
I tried with another font and it worked. Guess the Font I was trying to use previously isn't supported or something? -
Not all fonts are 'complete', for lack of a better word. If the game is looking for bold, or italics, or anything else that the font package doesn't include, it will have to fall back to what was the default font before you tried to change it.Thanks will look into it.
Edit:
I tried with another font and it worked. Guess the Font I was trying to use previously isn't supported or something? -
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.