Started by Elyssia, September 02, 2010, 11:15:44 am
Quote from: Blizzard on February 16, 2011, 03:44:48 pmThere you go. It's the proof that SDK is crap. It's incompatible with itself.
Quote from: winkioI do not speak to bricks, either as individuals or in wall form.
Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.
@sprite = Sprite.new
# Type in the version number.VERSION = "1.0"class Window_Version < Window_Base def initialize super(445, 0, 640, 32) self.contents = Bitmap.new(width - 32, height - 32) refresh end def refresh self.contens.clear self.contents.font.size = 28 self.contents.font.color = text_color(0) self.contents.draw_text(0, 0, 640, 32, VERSION, 2) endendclass Scene_Title alias :ori_main :main alias :ori_refresh :refresh def main @window_version = Window_Version.new ori_main @window_version.dispose end def refresh @window_version.refresh ori_refresh endend
Quote from: stripe103 on September 05, 2010, 02:12:06 pmNo but with code, any error can be fixed easily without having to remake the background. Errors such as change in placement and color.Try with this. Just add it in a new script section below Scene_Title.I have tried almost the same code in a project, but not this exact one, so if you find any errors with it, please tell me.
Quoteclass Scene_Title alias :ori_main :main alias :ori_refresh :refresh def main @window_version = Window_Version.new ori_main @window_version.dispose end def refresh @window_version.refresh ori_refresh endend
class Window_TitleVersion < Window_Base def initialize super(445, 0, 640, 32) self.contents = Bitmap.new(width - 32, height - 32) self.opacity = 0 refresh end def refresh self.contents.clear self.contents.font.size = 28 self.contents.font.color = text_color(0) self.contents.draw_text(0, -10, 200, 45, "1.0", 2) endendclass Scene_Title alias :ori_main :main def main @window_version = Window_TitleVersion.new ori_main @window_version.dispose endend