MZ [CGMZ] Game Over

[CGMZ] Game Over
By: Casper Gaming
Last Update: May 17, 2026
Latest Version: 1.4.0
​
Forum-Header-Introduction.png

Provides the option to change the Game Over scene image/music based on a variable, and also allows you to add a command window to the Game Over scene which the player can use to quickly get back into the game.
Forum-Header-Features.png

  • Change the game over image with a variable
  • Change the game over music with a variable
  • Add a command window to load a save from the game over screen
Forum-Header-Screenshots.png

Spoiler: Screenshots
Game Over scene with added command window
gameover1.png

Changed game over scene within the same game
gameover2.png
Forum-Header-Video.png


Forum-Header-HowTo.png

Import into plugin manager and enable the plugin. Some customization options available. Further instructions in plugin.

Online documentation can be found on my website.
User documentation can be found on the Casper Gaming Wiki.
Forum-Header-Download.png

Plugin (along with all my other plugins) can be found here: https://www.caspergaming.com/plugins/cgmz/gameover/
Requires CGMZ Core plugin: https://www.caspergaming.com/plugins/cgmz/core/

Also available on Itch.io:
Forum-Header-CreditAndTerms.png

https://www.caspergaming.com/terms-of-use/
Forum-Header-VersionHistory.png

Spoiler: Version History
Version 1.0.1
  • Fixed bug with map bgm/bgs not autoplaying if using me sound type
Version 1.0.2
  • Added Spanish language help documentation
  • This plugin will now warn instead of crash if invalid JSON detected
Version 1.1.0
  • Added option to create custom commands
  • Added additional command customization
  • Commands support text codes
Version 1.1.1
  • Added support for subfolders
  • Added volume/pitch/pan settings for audio
Version 1.1.2
  • Added x/y offset for command window
  • Added width option for command window
Version 1.2.0
  • Added video to game over screen
  • Added [CGMZ] Window Settings integration
  • Added [CGMZ] Window Backgrounds integration
Version 1.3.0
  • Added pictures that can take the place of the command window
Version 1.4.0
  • Added tip window
Hi all,

Added a demo for this plugin today in case anyone was confused on how to use it (will be going through all my plugins and making demos over the next few weeks), you can play it in-browser or download it from the plugin's main page on my website: https://www.caspergaming.com/plugins/cgmz/gameover/
Hi I'd like to let you know of a bug I found with this plugin.
When you get the game over screen and the command window pops up, selecting continue>autosave will bring you back to your last autosave point but it won't autoplay the bgm of the map.
In your demo there's a 5 second delay before the bgm begins autoplaying, however in my game it never begins playing at all.

I've temporarily fixed this by turning off the command window parameter in the plugin settings. So now game over screens will take me back to the title screen, and selecting continue from the default title menu's command window will bring me back to the last autosave point with the bgm autoplaying.

Hope this bug in the command window will get fixed. Otherwise I love this plugin so much and appreciate all that you do for the community 🙂
@Skwis thanks for pointing this out, it seems to have something to do with ME sounds not being stopped so the bgm was unable to start. Should be fixed in latest update.

Version 1.0.1:
- Fixed bug with map bgm/bgs not autoplaying if using me sound type
version-102.png

Hi all, this plugin received a minor update today to version 1.0.2! 👋

This update will now warn in the console instead of crash when it encounters a plugin parameter that has invalid JSON. These warnings are still important for you to fix, as the plugin will not work correctly until the plugin parameters are configured properly. This update also added Spanish language help documentation.

Version 1.0.2
  • Added Spanish language help documentation
  • This plugin will now warn instead of crash if invalid JSON detected
Hi all,

Added a demo for this plugin today in case anyone was confused on how to use it (will be going through all my plugins and making demos over the next few weeks), you can play it in-browser or download it from the plugin's main page on my website: https://www.caspergaming.com/plugins/cgmz/gameover/
I see the demo which shows what it does but is there a tutorial explaining exactly how to go about using it once you've installed the plug in?
@daveycadaver Hi, you can download the demo and open it up in editor to see how things in the demo were accomplished. There is also the help section in the plugin manager that should explain the basics of how to use the plugin. If you have tried the above and there is still something specific you don't get how to use, you can ask here for support as well.
@daveycadaver Hi, you can download the demo and open it up in editor to see how things in the demo were accomplished. There is also the help section in the plugin manager that should explain the basics of how to use the plugin. If you have tried the above and there is still something specific you don't get how to use, you can ask here for support as well.
Thanks for replying. I'm new to the engine and a visual learner so I'm having trouble actually setting a variable and all that. I created artwork for multiple game over screens (I'm an artist first and hesitate to even call myself a game dev or programmer) I'm just trying to figure out what to do exactly in order to call the screens once the game ends.
@daveycadaver Hi, to set a variable, you will want to create an event somewhere on the map and then in the event commands list, select the Control Variable event command. Then select the variable id you set up in the plugin parameters and set it to the number you want.

So for example if in the plugin parameters you set the game over image variable to variable id 1:
1702516511653.png


Then in your event you would add a control variables event command to set that variable to the number you want:
1702516649710.png

If you set it to 1, it will show the first image in your Images parameter in the plugin:
1702516724731.png

If you had set it to 2, it would show the second image in the list, and so on.
version-110.png

Hi all, today this plugin was updated to version 1.1.0! 👋

This update adds similar control over the game over command window that my other command window plugins do. You can now create your own custom commands, including show and enable conditions. Your commands can be customized with a background image as well as a separately aligned icon. Command text now supports text codes.

Version 1.1.0
  • Added option to create custom commands
  • Added additional command customization
  • Commands support text codes
version-111.png

Hi all, today this plugin was updated to version 1.1.1! 👋

This version allows your sound and image parameters to work when they are in subfolders. I also added volume/pitch/pan settings for audio.

Version 1.1.1
  • Added support for subfolders
  • Added volume/pitch/pan settings for audio
version-112.png

Hi all, today this plugin was updated to version 1.1.2! 👋

This version adds options for an x/y offset for the command window, as well as an option to change the window width. This should give full control over the position and size of the window.

Version 1.1.2
  • Added x/y offset for command window
  • Added width option for command window
version-120.png

Hi all, today this plugin was updated to version 1.2.0! 👋

This version adds videos to your game over screen. Videos function similarly to how you set up music and image changes throughout your game. Video will loop and be displayed behind the Game Over image so you can display static Game Over text over the top of the video still. Videos are played on mute so the sound still comes from your music you have set up. See below gif for how it can look:
v6HMWgn.gif

Integrations with [CGMZ] Window Settings and [CGMZ] Window Backgrounds were also added. These allow you to change the command window's tone, windowskin, and more. You can also add a background image to the window, including an animated scrolling parallax image.

Version 1.2.0
  • Added video to game over screen
  • Added [CGMZ] Window Settings integration
  • Added [CGMZ] Window Backgrounds integration
So cool! Thank you for this.
version-130.png

Hi all, today this plugin was updated to version 1.3.0! 👋

This version adds pictures you can show that will function as commands. This can help get your game away from the standard RPG Maker look with the command window. Pictures can have an inactive and active state, which is applied when that picture is hovered or selected. Pictures work with all control types, including touch, keyboard, and gamepad. See below gif for how it can look:
cgmz-gameover-130.gif

To use pictures in place of your command window, set the Number of Commands parameter to 0 to hide the command window.

Version 1.3.0
  • Added pictures that can take the place of the command window
version-140.png

Hi all, today this plugin was updated to version 1.4.0! 👋

This version adds a tip window to your game over screen, so you can provide the player with helpful hints or tips if they keep losing. A random tip will be chosen from the list of possible tips, and they do support text codes. Tips support switches as a condition. If set, the switch must be ON before the tip is eligible to appear.

See below image for how it can look:
cgmz-gameover-140.png

Version 1.4.0
  • Added tip window

Original thread: https://forums.rpgmakerweb.com/threads/cgmz-game-over.125656/