module MFXRB#设定部分
BT2 = "标题2"#标题名
BT2X = 0 #X坐标
BT2Y = 50 #Y坐标
BT2SIZE = 48 #字的大小
end
class Scene_Title < Scene_Base
def create_foreground
@foreground_sprite = Sprite.new
@foreground_sprite.bitmap = Bitmap.new(Graphics.width, Graphics.height)
@foreground_sprite.z = 100
draw_game_title if $data_system.opt_draw_title
draw_game_title2 if $data_system.opt_draw_title
end
def draw_game_title2
@foreground_sprite.bitmap.font.size = MFXRB::BT2SIZE
rect = Rect.new(MFXRB::BT2X, MFXRB::BT2Y, Graphics.width, Graphics.height / 2)
@foreground_sprite.bitmap.draw_text(rect, MFXRB::BT2, 1)
end
end
module MFXRB#设定部分
BT2 = "标题2"#标题名
BT2X = 0 #X坐标
BT2Y = 50 #Y坐标
BT2SIZE = 48 #字的大小
end
class Scene_Title < Scene_Base
def create_foreground
@foreground_sprite = Sprite.new
@foreground_sprite.bitmap = Bitmap.new(Graphics.width, Graphics.height)
@foreground_sprite.z = 100
draw_game_title if $data_system.opt_draw_title
draw_game_title2 if $data_system.opt_draw_title
end
def draw_game_title2
@foreground_sprite.bitmap.font.size = MFXRB::BT2SIZE
rect = Rect.new(MFXRB::BT2X, MFXRB::BT2Y, Graphics.width, Graphics.height / 2)
@foreground_sprite.bitmap.draw_text(rect, MFXRB::BT2, 1)
end
end