Game Scene Stabilizer - Version 7.0.3

chaucer

Veteran
Veteran
Joined
Aug 6, 2014
Messages
267
Reaction score
416
First Language
English
Primarily Uses
RMMV
Scene Stabalizer : 7.0.3
Author : Chaucer

Introduction :


This plugin is designed to make transitions between scenes smoother. When changing scenes in mv, theres a slight lag spike​
which occurs when loading files & rendering images, this is more apparent in games which use large images, or lots of images, This plugin will pause the game from updating until all elements in the scene have been loaded AND are ready to be rendered. I seen a few people on the forum bring this issue up, so I decided I'd try to come up with a solution, unfortunately I've been a bit busier than expected, so it's taken me a bit longer to get around to this than I anticipated.​
Features :
  • Transitioning between scenes is much smoother.
  • Options to wait for scene to stabalize when loading animations and pictures.
Screenshots :
N/A​

Terms of use :
This Plugin may be used commercially, or non commercially so long as credit
is given, either in the games credit section, or in a text file alongside
the game. This plugin may NOT be sold, or Plagiarized. This plugin may
be extended upon, and shared freely.

Download Link :
Scene Stabilizer
 
Last edited:

peq42_

Yeet
Veteran
Joined
Feb 5, 2016
Messages
479
Reaction score
285
First Language
Portuguese(BR)
Primarily Uses
RMMV
Perfect! That solves audio lag problems when i enter a different map, that was really annoying.

Thank you!
 

Biestmann

Studio Biest
Veteran
Joined
May 18, 2015
Messages
406
Reaction score
667
First Language
German
Primarily Uses
RMMV
Intriguing. I'll give it a try. I hope I don't run into any compability issues!
 
Last edited:

chaucer

Veteran
Veteran
Joined
Aug 6, 2014
Messages
267
Reaction score
416
First Language
English
Primarily Uses
RMMV
@elpeleq42 Interesting, I didn't intend for it to resolve any audio latency, I don't have any issues with audio on my computer, so It's possible for me to test this on my end. However If any one else with audio lag can confirm it works for them as well, it'd be appreciated. I only wrote this plugin to resolve the graphical hiccup on starting new scenes, so I don't think I'll add audio lag fix to the feature list just yet, as I can't confirm this for myself.

@Gin-Shiio I do believe this plugin will not come up any compatability issues, but nothings impossible, :D I'd love to hear your results, especially if you find any compatability issues.

I'm also looking into a way to fix the lag when loading images on the fly( for example, playing a large animation in battle ), so I might update this plugin when I get a chance( and if it isn't too awkward ), currently this plugin only works on the start of a new scene, and does not work for on the fly loading.
 

JtheDuelist

The Friendly Nieghborhood Stygian Zinogre
Veteran
Joined
Dec 9, 2017
Messages
1,176
Reaction score
1,432
First Language
English
Primarily Uses
Other
@chaucer My game uses large audio files (some nearing 6 minutes long and about 3-5MB a song) which caused huge lage spikes when changing maps. This plugin actually fixed all audio-based lag spikes (and from the sounds of it, you didn't intend this originally, so that is icing on the cake.) and now I have zero lag between transitions- this plugin is a lifesaver if I ever needed one!

As for plugin compatibility, from testing with in my own game, here are ones that are fully compatible with your plugin as of right now:
StabilizerCompatibility.png
 

peq42_

Yeet
Veteran
Joined
Feb 5, 2016
Messages
479
Reaction score
285
First Language
Portuguese(BR)
Primarily Uses
RMMV
@elpeleq42 Interesting, I didn't intend for it to resolve any audio latency, I don't have any issues with audio on my computer, so It's possible for me to test this on my end. However If any one else with audio lag can confirm it works for them as well, it'd be appreciated. I only wrote this plugin to resolve the graphical hiccup on starting new scenes, so I don't think I'll add audio lag fix to the feature list just yet, as I can't confirm this for myself.

@Gin-Shiio I do believe this plugin will not come up any compatability issues, but nothings impossible, :D I'd love to hear your results, especially if you find any compatability issues.

I'm also looking into a way to fix the lag when loading images on the fly( for example, playing a large animation in battle ), so I might update this plugin when I get a chance( and if it isn't too awkward ), currently this plugin only works on the start of a new scene, and does not work for on the fly loading.
Since this plugin waits until everything is loaded to execute, it fix the audio lag by either loading audio before executing thing in the map OR freeing PC resources to load audios faster, and so fixing the problem(at least, on some PCs)

Also, about compatibility: Doesn't seem to have any problem with any kind of plugin. I've 43 plugins in my game, and it's working very well.
 

OnslaughtSupply

Ssshhh...
Veteran
Joined
May 14, 2017
Messages
731
Reaction score
762
First Language
English
Primarily Uses
RMMV
I use a ton of plugins and galvs character frames, which adds more than 3 frames per character and would sometimes get a little stutter when changing scenes, that's gone now. Thanks Chaucer. Also I have a good amount of plugins going, no conflicts so far.
 

Oscar92player

Veteran
Veteran
Joined
Jul 26, 2012
Messages
456
Reaction score
200
First Language
Spanish
Primarily Uses
RMMV
I'm going to test this with my project. If it fixes what I'm reading here in all the posts in this thread, you are going to appear in the credits of my project in really BIG capital letters, I swear it (and your name will be in a more important position than the Kadokawa Game staff too).

I will update this post once I've done with the tests.

P.S.: Also, if this can make a game run smooth without FPS drops or lag, I would like to suggest to our beloved staff members and developers to pin up this thread in the plugins forum, as a bug fix for those pisky bugs related with optimization.

UPDATE:
So, I've made a little test in my project, using two versions of the MV core (v1.5.1 and v1.4.1). The results are clear: this plugin fix, if not all, at least the majority of bugs related with optimization and stability with the Scenes.

With my project, it does not solve the sound delay issue, but I think it is less pronounced than normaly without any plugin. Also, the screen tearing in big maps is gone when working with both versions (v1.5.1 and v1.4.1), but... as I posted in this thread months ago, there are persistent issues in v1.5.1 with the Change Tileset command if you use it continuously in a parallel process to make map animations. However, this issues are less pronounced with the help of this plugin too, and using it along with Yanfly's FPS Synch Option plugin helps a lot.

Something I would like to say, it's that FPS drops are present in both versions of the MV core, but the game runs smoothly in almost every moment and change of Scene, so they are not noticed unless you open the FPS window with F2 (and that, my friends, makes a big difference than before).

So, finally, we have a functional bug fix for this optimization issues with Scenes. I'll say even more: we have a functional bug fix for optimization issues with Scenes in RPG Maker MV made by a forum user, who has done much more than Kadokawa Games in all this years since the release of the program (and never figured out how to fix them).

I love you, man! You've made a great plugin, and I will give you a good position in my game credits, and I don't know how to thank you enough about this! Over and out!
 
Last edited:

thephoenix112

Veteran
Veteran
Joined
Jun 25, 2015
Messages
81
Reaction score
54
Primarily Uses
It fixed a few audio issues, scene change issues, menu issues...yeah, I'd argue they need to put this in as a full official update, there's no way this doesn't benefit any game. 100% compatible with everything so far.
 

Oscar92player

Veteran
Veteran
Joined
Jul 26, 2012
Messages
456
Reaction score
200
First Language
Spanish
Primarily Uses
RMMV
This is an update of the previous post:
So, I've made a little test in my project, using two versions of the MV core (v1.5.1 and v1.4.1). The results are clear: this plugin fix, if not all, at least the majority of bugs related with optimization and stability with the Scenes.

With my project, it does not solve the sound delay issue, but I think it is less pronounced than normaly without any plugin. Also, the screen tearing in big maps is gone when working with both versions (v1.5.1 and v1.4.1), but... as I posted in this thread months ago, there are persistent issues in v1.5.1 with the Change Tileset command if you use it continuously in a parallel process to make map animations. However, this issues are less pronounced with the help of this plugin too, and using it along with Yanfly's FPS Synch Option plugin helps a lot.

Something I would like to say, it's that FPS drops are present in both versions of the MV core, but the game runs smoothly in almost every moment and change of Scene, so they are not noticed unless you open the FPS window with F2 (and that, my friends, makes a big difference than before).

So, finally, we have a functional bug fix for this optimization issues with Scenes. I'll say even more: we have a functional bug fix for optimization issues with Scenes in RPG Maker MV made by a forum user, who has done much more than Kadokawa Games in all this years since the release of the program (and never figured out how to fix them).

I love you, man! You've made a great plugin, and I will give you a good position in my game credits, and I don't know how to thank you enough about this! Over and out!

A suggestion for the staff members and developers:
I suggest you, as a user of RPG Maker Web Forums and as game developer in RPG Maker MV, to pin up this thread in the JS Plugin Releases (RMMV), in order to be noticed by all the users who enter this forum, searching for bug fixes related with lag and optimization issues.
 

chaucer

Veteran
Veteran
Joined
Aug 6, 2014
Messages
267
Reaction score
416
First Language
English
Primarily Uses
RMMV
Wow, thanks for all the feedback guys, I'm glad to hear the plugin is this useful :D I spent a few minutes looking into animations and pictures tonight, and I've updated the plugin to 1.4.0. In the new version animations and pictures now can trigger this plugin, by default they are disabled, but can be enabled in the plugin parameters, I'm unsure if I'm 100% satisfied with the turnout, I may try to find another aproach later down the road, so I'm leaving it optional for now.
 

TheTitan99

Veteran
Veteran
Joined
Nov 2, 2015
Messages
166
Reaction score
66
First Language
English
Primarily Uses
RMMV
So far, this is great. Jarring lag spikes are removed. If I can find a between scene preloader plugin, RPG Maker MV will be absolutely marvelous.

Keep up the good work!
 

chaucer

Veteran
Veteran
Joined
Aug 6, 2014
Messages
267
Reaction score
416
First Language
English
Primarily Uses
RMMV
@TheTitan99 Even if you found a preloader plugin for mv, it would do you no good, sorry to say, you can already preload images in MV and infact, that's done in the transitions between scenes. The real problem is that once the images are starting to be rendered( once the scene starts ), the images take time to be uploaded to the GPU. Whats really needed, is a plugin to pre-upload to GPU, and PIXI has such a method built in, but unfortunately, it's not being utilized by MV, and theres no easy way of just slapping it in through a plugin, which is why my plugin only pauses the scene until the images have been loaded to the gpu.
 

Oscar92player

Veteran
Veteran
Joined
Jul 26, 2012
Messages
456
Reaction score
200
First Language
Spanish
Primarily Uses
RMMV
@TheTitan99 Even if you found a preloader plugin for mv, it would do you no good, sorry to say, you can already preload images in MV and infact, that's done in the transitions between scenes.
In fact, I tried using the TDDP Preload Manager along with your plugin, and it works very well. Also, I'm not using the preloader for images, animations or scenes, but to load audio files such as BGM, BGS, ME and SE, in order to avoid the audio delay (using the Web Audio add-on too).

There are no incompatibilities in the test I realized a moment ago, so as long as you don't need to load graphic files, I think is okay.
 

Tuomo L

Oldbie
Veteran
Joined
Aug 6, 2012
Messages
2,294
Reaction score
1,272
First Language
Finnish
Primarily Uses
RMMV
Found a conflict with YEP Core Engine. It resets Animation rate changes to default and thus messing any custom animation rates.
 

chaucer

Veteran
Veteran
Joined
Aug 6, 2014
Messages
267
Reaction score
416
First Language
English
Primarily Uses
RMMV
Thanks @Tuomo L , I've updated my plugin with how it handles animations, now it will upload textures to the gpu before the animation starts playing, which was what I was originally planning on. I also realized my stabalize_pictures parameter wasn't working correctly :headshake: so I've also patched that as well, and it works as it should, I believe this new version should be compatible with YEP Core Engine, I honestly haven't tested it out yet myself, so I can't say for sure, I'll have to check it out when get more time, if anyone finds any other issues just let me know, I'll be more than happy to patch it if I can. :)
 

AdamSakuru

[Null_Value]
Veteran
Joined
Mar 14, 2014
Messages
314
Reaction score
170
First Language
English
Primarily Uses
N/A
Where should this plugin be placed? Above everything else?
 

chaucer

Veteran
Veteran
Joined
Aug 6, 2014
Messages
267
Reaction score
416
First Language
English
Primarily Uses
RMMV
The position of this plugin in the plugin manager should not have any impact as I'm mostly working with methods that hardly any other plugin would, but if there ever were any issues, I believe placing this below everything else, would be the best place for it. :)
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

I wonder what cat meat tastes like.
Writing out an idea for the No Travel Game Jam. I have a general plot and challenge written out, it's just a matter of filling the rest in and making it interesting.
A definite difficult time right now. How is everyone doing during this pandemic? I already have seen furloughs and layoffs.
Hollow 1977 wrote on Archeia's profile.
Hope you and your family are doing well during this difficult time. :)
My elderly neighbor whom I've been buying groceries for just got carried out of his home on a stretcher by guys with hazmat suits. Considering I've been his only point of contact for the past month it's probably safe to say my boss was right to tell me to stay home once I developed a mild cough after all.

Forum statistics

Threads
95,644
Messages
930,701
Members
125,970
Latest member
Creth-Alretan
Top