Comments

Log in with itch.io to leave a comment.

Great work on this!  Any chance this plugin can be made to support movie (webm) files to play before the game over scene?

Hi, if your game over occurs from the map, you can use event commands to play your webm movie before calling the game over scene. If it occurs from battle, I think you could also achieve this with my [CGMZ] Battle Result Events to cause the battle loss to run a common event which could then play your movie and call the game over scene when done.

If you mean instead of an image but a movie as the game over screen background, that is something I would need to look into, I have not done much with movies in rpg maker.

Thanks for the reply. Much appreciated.  For a potential example, take a look at Kath_GameOver.js. from McKathlin on forums.rpgmakerweb.com

Thanks for the reference, though it appears that plugin also works by giving you the option to run a common event when a battle is lost, which is something you can already do via [CGMZ] Battle Result Events, unless I am missing something?

You were correct that I was trying to solve a pre-game over (death state) and game over scene replacement from the map scene.    I already had an event running at HP = 1, and desired to run a defeat event (fade and ME) which I evented then a  replacement game over scene with video.   It was the game over replacement video from map scene I could not do.  Your plugins have worked flawlessly and just wanted to offer the suggestion to continue to integrate your plugins in my projects. Thanks again for the replies and the constant work and improvements. Well done!

Hello , can this plugin support multiple gameover screens or just 2?

Hi, this plugin uses variables to determine what image and music to play. As a result, there is no limit to the amount of game over screens you can have.

Quick question, is there a way to make the music accept subfolders in the bgm? You have that in the menu music plugin and I would need that here, too :)

Thanks :)

Hi, this plugin was initially coded before subfolders were supported by rpg maker. It is a little complicated to change for this plugin compared to the menu theme plugin because this one allows for SE/ME/BGS/BGM. In the CGMZ_GameOver_playSound function, you could try replacing the first 3 lines with this:

const file = CGMZ.GameOver.Music[$gameVariables.value(CGMZ.GameOver.MusicVariable) - 1].split("/");
const type = file.shift();
const sound = {name: file.join('/'), pan: 0, pitch: 100, volume: 90};

I did not test it for all environments but on initial tests it worked in my playtest

Works, perfect! Thanks :)

How do you actually install the plugins? I'm trying to use them on the trial version of RPG Maker MZ and I still see the demo game over image.

Hi, you unzip the zip file that it comes in, and put it in your games js -> plugins folder. Then you will open up the editor and navigate to tools -> plugin manager. From here, you will double click and then select the plugin from the name field. Some plugins come with additional parameters you need to configure before you can use it, any special instructions for CGMZ plugins will be in the Help part of the plugin manager window.

I also have demos for all of my fully released plugins on my website, if you are having problems getting set up, you can download the demo and open it in the editor to see how something was done.

Thanks!