RPG Maker Forums

I need some assistance from good scripter(s) im trying to script a game over screen with text, i did find a script but i dont know where to put it, i tried putting it in the gameover script its self nothing, i tried putting it in the materials script list, and it works, but i want to make it so the text box is invisible and it appears at the bottom middle of the screen and make it transition to another text box, this is what the script is that i found:


class Scene_Gameover < Scene_Base
  alias galv_chigoo_gotext_start start
  def start
    galv_chigoo_gotext_start
    create_txt_window
  end
  
  def create_txt_window
    @txt_window = GoText_Window.new
  end
end
class GoText_Window < Window_Base
  def initialize
    super(0, 0, Graphics.width, fitting_height(1))
    draw_message
  end
  def draw_message
    txt = "Your score is " + $game_variables[1].to_s
    draw_text(0,0, Graphics.width, line_height, txt,1)
  end
end


Gameover 1.png


I Just tried this:


class Scene_Gameover < Scene_Base
  alias galv_chigoo_gotext_start start
  def start
    galv_chigoo_gotext_start
    create_txt_window
  end
  
  def create_txt_window
    @txt_window = GoText_Window.new
  end
end
class GoText_Window < Window_Base
  def initialize
    super(0, 0, Graphics.width, fitting_height(1))
    draw_message
  end
  def draw_message
    txt = "Dont Give Up Just Yet" + "Michael Stay Determined"   draw_text(0,0, Graphics.width, line_height, txt,1)
  end
end




But its in one text box still on the top of the screen:


Gameover 2.png:


Please Send a Script to fix this, i cant find anywhere on the internet of how to fix this


P.S (Also Help Make The Menu's and The Battle Buttons look like they do in UNDERTALE, and possibly a bullet hell battle syst. Thanks :D )

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,051
Messages
1,018,551
Members
137,837
Latest member
Dabi
Top