Code: require 'OpenRGSS' class Window_Bd < Window def initialize() super() @windowskin_name = "BirthdaySkin.png" self.windowskin = RPG::Cache.windowskins(@windowskin_name) self.x = 0 self.y = 0 self.width = 640 self.height = 480 self.z = 100 self.contents = Bitmap.new(width - 32, height - 32) refresh end def refresh() self.contents.clear() self.contents.font.name = "Verdana" self.contents.font.size = 64 self.draw_text(0,0, 640, 480, "Happy Birthday mq!", 1) end end $mq = Window_Bd.new() while !(Input.trigger?(Input::B)) Graphics.update Input.update end Leider konnte ich nicht testen ob die Schriftgröße passt, OpenRGSS ist ja noch nicht soweit =) Alles gute mq..
require 'OpenRGSS' class Window_Bd < Window def initialize() super() @windowskin_name = "BirthdaySkin.png" self.windowskin = RPG::Cache.windowskins(@windowskin_name) self.x = 0 self.y = 0 self.width = 640 self.height = 480 self.z = 100 self.contents = Bitmap.new(width - 32, height - 32) refresh end def refresh() self.contents.clear() self.contents.font.name = "Verdana" self.contents.font.size = 64 self.draw_text(0,0, 640, 480, "Happy Birthday mq!", 1) end end $mq = Window_Bd.new() while !(Input.trigger?(Input::B)) Graphics.update Input.update end
--SGS Stats - Additional Stats for Actors and Enemies (MV)
Foren-Regeln