#~ ----------------------------------------------------------------------------- #~ | $Game Over Menu by Moon$ | #~ ----------------------------------------------------------------------------- #~ | What this script do? | #~ | It adds menu in the Gameover scene | #~ | You will be able to choose between | #~ | "Back to the title" | #~ | "Continue" | #~ | "Shutdown" | #~ | Ufcourse, these menus are all vocab and can be changed | #~ -----------------------------------------------------------------------------
module Vocab #~ Change the vocab here if you want something different Back_to_title = "Title Screen" end
class Scene_Gameover < Scene_Base def start super RPG::BGM.stop RPG::BGS.stop $data_system.gameover_me.play create_gameover_graphic check_continue create_game_over_window end
def update super @command_window.update if Input.trigger?(Input::C) case @command_window.index when 0 # Back to title $scene = Scene_Title.new Graphics.fadeout(120) when 1 # Continue command_continue when 2 # Shutdown command_shutdown end end end
def terminate super dispose_command_window snapshot_for_background dispose_title_graphic end
Posts : 622 Thanked : 5Engine : RMVX Ace Skill : Very Beginner Type : Developer
Ini yang terjadi kalau satu user ngebajak trid orang.
http://grimoirecastle.wordpress.com/rgss3-scripts/utility-scripts/game-over-common-event/ http://forums.rpgmakerweb.com/index.php?/topic/1719-game-over/ Script ini buat Ace, btw.