RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Changing Game Overs mid-game?

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 84
To elaborate: The plot of a game I'm working on involves the heroes trying to overthrow an empire, and I want the Game Over screen to show a picture of the villain standing over the heroes' dead bodies and laughing.  However, about halfway through the game it becomes apparent that the real problem is a dark god trying to destroy the universe.  At that point, I want the Game Over screen to show said dark god destroying that world.  Is this possible?
« Last Edit: January 20, 2009, 09:06:22 PM by Iari »
That's good to know.

**
Rep:
Level 84
its easy with scripting. just a change to the scene_gameover that shows a different picture if a switch is on

would say exactly how but rm isn't on this comp

**
Rep: +0/-0Level 84
Cool.  But...I don't understand scripting at all...would anyone be able to show me how to do this?
That's good to know.

********
Furry Philosopher
Rep:
Level 94
Rawr?
2013 Best RPG Maker User (Creativity)Randomizer - GIAW 11Gold - GIAW 11 (Hard)Secret Santa 2013 ParticipantFor frequently finding and reporting spam and spam bots2012 Best RPG Maker User (Programming)2012 Best RPG Maker User (Mapping)Secret Santa 2012 ParticipantGold - GIAW 9Project of the Month winner for September 2008For taking a crack at the RMRK Wiki2011 Best RPG Maker User (Programming)2011 Kindest Member2011 Best Veteran2010 Most Deserving Of A Promotion2010 Best RPG Maker User (Technical)
Use the script command in an event and use this line.

Code: [Select]
$data_system.gameover_name = "insert name of gameover screen here + filetype"


Obviously, you need to enter in the image's name and type. Example, $data_system.gameover_name = "gameover.png"




**
Rep: +0/-0Level 84
That worked!  Thanx.
That's good to know.

**
Rep:
Level 84
Use the script command in an event and use this line.

Code: [Select]
$data_system.gameover_name = "insert name of gameover screen here + filetype"


Obviously, you need to enter in the image's name and type. Example, $data_system.gameover_name = "gameover.png"

that only works until the game is restarted or even a saved game is loaded. $data stuff gets reset on the title screen

**
Rep: +0/-0Level 84
So...if I load a Save Game from after I change the Game Over screen, it'll show the default one?
That's good to know.