I think I have the script setup right. It does what its supposed to do but I want people to be able to change the Font and Size mid game using
It works for the most part when you set the default font in the script but when I try to use the syntaxes it doesnt change anything. Here's my script.
Code:
$game_system.font = "Arial" or $game_system.size = 22
It works for the most part when you set the default font in the script but when I try to use the syntaxes it doesnt change anything. Here's my script.
Code:
class Game_System
attr_accessor :font # font
attr_accessor :size # size
alias re_init initialize
def initialize
@font = "Arial"
@size = 20
re_init
end
end
class Font
alias change_font initialize
def initialize
change_font
self.name = $game_system.font
self.size = $game_system.size
end
end