
Generally speaking though, to draw text to the screen it would look something like = Bitmap.new(x, y, width, height)Īctor_lvl = $game_s it wouldn't hurt to browse over Window_Base a few times. ** side note to consider when choosing whether to draw your text in a scene or window Window_Base (which is a superclass of all windows in any project) has a few methods you may or may not find useful for changing text properties. A window will use the bitmap created along with the window for drawing the text, so you don't actually have to create a sprite you can simply draw to the contents of the window. I would recommend performing the actual drawing within a window or a scene. you might find stored variables for text strings to be drawn at a later time in one of these objects, but the actual drawing is done within windows or within the scene itself 9.9/10. if you review the default scripts you will notice tha text is amlost never (if not never ever) drawn within Game_Objects such as Game_Screen. generally speaking most text is drawn in windows, but for a great example of how to draw directly within a scene, refer to Scene_Title. Well, you need a bitmap to draw the text in.
