I have been working on a game in RMXP, that does NOT use the default systems(Game_Whatever, Scene_Whatever), and I have in the past been able to display a bitmap on the screen with this:
but it hasn't been working on my new computer.
my code is:
I got it now. Wanna see what this helped me do?
Find it here: click here
Code:
Â
sprite = Sprite.new
sprite.bitmap = Bitmap.new(640,480)
sprite.bitmap.draw_text(5,5,144,32,"Hello World!")
Â
my code is:
Code:
Â
begin
 # Prepare for transition
 Graphics.freeze
 sprite = Sprite.new(Viewport.new(0, 0, 640, 480))
 sprite.bitmap = Bitmap.new(640, 480) #RPG::Cache.icon('001-Weapon01')
 sprite.bitmap.draw_text(0,0,144,32,"Hello world!")
 sprite.x = sprite.y = 200
 loaded = 0
 loop do
  Graphics.update
  loaded += 1
  #break if loaded > 999
 end
 # Make scene object (title screen)
 #$scene = Scene_Title.new
 # Call main method as long as $scene is effective
 while $scene != nil
  $scene.main
 end
 # Fade out
 Graphics.transition(20)
rescue Errno::ENOENT
 # Supplement Errno::ENOENT exception
 # If unable to open file, display message and end
 filename = $!.message.sub("No such file or directory - ", "")
 print("Unable to find file #{filename}.")
end
Â
I got it now. Wanna see what this helped me do?
Find it here: click here