Torqus

Veteran
Veteran
Joined
Aug 2, 2015
Messages
169
Reaction score
27
First Language
English
Primarily Uses
I had this problem for a long time now, I posted this before but there was no solution so now I'm posting it with more things I've discovered.

I'm trying to make a plugin for my game, very simple one, that will load the last saved game after game over instead of taking the player to the title. But no matter what I try, after loading, the BGM wont replay as it does in the Scene_Load, and I don't know why...

The BGM starts again when I move to another map, but it doesn't play after the load of this script in the map, only silence can be heard.

This is the code to load the game in the Gameover screen:

Scene_Gameover.prototype.gotoTitle = function() { this.fadeOutAll(); DataManager.loadGame(DataManager.latestSavefileId()); SceneManager.goto(Scene_Map);};I tried adding everything possible, all the lines of code involving the word "audio" in it.

I tried many times with :
        $gameSystem.onAfterLoad();

but no success.

I'm tired of trying, seems like the only possibility left for me is to redirect the player to the Scene_Load, or creating a new Scene similar to Scene_Load that automatically loads the last save. But that doesn't seem like the correct path.
 
Last edited by a moderator:

Latest Threads

Latest Posts

Latest Profile Posts

I have big news. I just got hired at a Mexican restaurant! They're like Chipotle but a bit different... and my job will be taking orders some days, delivering food other days, and of course, making customers happy. My orientation is on Tuesday. Once I start, I might disappear from here sometimes, but I'll always try to come back!
Batch converting .mp3 to .ogg files is making my computer soooo slow!
When you spend hours working on an optional segment that players will only be in for 2 minutes in a single playthrough. That's the life right there.
I had a kernel panic crash on my current computer for the first time after trying out the latest update on a videogame. I think I'm going to wait until the next update before trying it again. This brought back memories of my old computer and laptop in their final days.
My mind is now broken. I just spent over an hour on this stupid issue.
Trying to get a skill to show text depending on enemy ID to show passives.
Well. I tried to call one passive 'Spirit's Way'. See a problem? No? Neither did I until now!
The apostrophe in "Spirit's" ended the text eval... no wonder I kept getting unexpected input errors...I think I'm gonna cry.

Forum statistics

Threads
110,443
Messages
1,053,352
Members
143,518
Latest member
JuneyBug
Top