waxing-pygmalion

Villager
Member
Joined
Dec 3, 2015
Messages
9
Reaction score
2
First Language
English
Hey all. So I have all my battle processes set up so that if the player character loses, they get a game over. However, what I'm getting is once the player is defeated, the background music from before the battle resumes (even if it's not set to autoplay for that room), you get a brief look at the character and enemy sprites in the room, and THEN you get a game over. I don't want that to happen. How do I fix this? Do I need a plugin for a more immediate game over?


Thanks in advance.
 

Wavelength

MSD Strong
Global Mod
Joined
Jul 22, 2014
Messages
6,114
Reaction score
5,851
First Language
English
Primarily Uses
RMVXA
Your description is somewhat ambiguous - so to be clear, you are using a Troop Event with a Game Over command that runs if a certain actor hits 0 HP?  I tried this kind of event in a mostly-clean project (using only Yanfly's Core & Battle Engines), as well as normal Game Overs triggered by having the whole party go to 0 HP, and didn't notice any of the quirks that you described.  It should go directly to the Game Over screen.


Is it possible you used the Abort Battle command, or maybe used the Continue Even When Loser option (for the battle troop in the map event that triggers the battle)?  This would return the player to the map.  If not, try this same troop/event in a clean project with no Plugins to make sure that this isn't happening because of plugins you have implemented, and if none of that seems to answer your question, it would be smart to provide us with screenshots of the Troop, its Troop events, and the map event that you use (if any) to run this battle.
 

waxing-pygmalion

Villager
Member
Joined
Dec 3, 2015
Messages
9
Reaction score
2
First Language
English
Thank you for replying! Yes, it's a troop event, with one actor. When the actor's HP hits zero, it's supposed to game over.


I've attached a screenshot of the event. I guess it's missing something, but I don't know what. Thanks for your help!

Untitled.png
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,693
Reaction score
3,023
First Language
Tagalog
Primarily Uses
RMVXA
It's not a troop event.. that's a normal event.. The if lose part only runs on the map so ofc it will go back to map first before game over..


Normally if you lose a battle it's game over anyway so just make sure you didn't check "Continue even if lose" and you're pretty much sure to get a game over once your player dies in that battle.. You won't even need that "if Lose" part..
 
Last edited by a moderator:

waxing-pygmalion

Villager
Member
Joined
Dec 3, 2015
Messages
9
Reaction score
2
First Language
English
Ok, thank you! Now I gotta figure out how to make a troop event then hahaha. Sorry I'm such a newbie.
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,693
Reaction score
3,023
First Language
Tagalog
Primarily Uses
RMVXA
You dont even need it... Once your player dies, it should automatically be game over unless your evented battle was set to Continue when lose...


If you dont get game over even if your player dies and loses that battle, it's either you set Continue when lose to true or you have installed a script/plugin that disables the default game over.. If it's the first, just dont check that box, if its the second, remove the script.
 
Last edited by a moderator:

Latest Threads

Latest Profile Posts

Just for the record you CAN use the "Exclude unused files" successfully to trim a project down seriously even if you're doing calls to various assets via plugins and such. BUT you need to do a full playtest of pretty much every option to ensure you did get every one of those other assets added in. Then I dumped the assets into a fresh copy of the project and yay it was like 400 Meg......
party time.png
If you've played Knight Shift Chapter 1 this image'll mean something to you. If not, that's also fine!
Here's a medical question for ya: Why do I start lightly coughing after I drink coffee?
Well, someone "reviewed" my game. Didn't credit me anywhere in the video and spent 2 minutes insulting it. Going to ignore that and move on.
To cut down on map lag, I've been researching how to implement a lighting layer as a single map overlay instead of a bunch of individual lights. Hopefully I'll have a screenshot soon!

Forum statistics

Threads
117,265
Messages
1,105,961
Members
153,440
Latest member
VicArt
Top