chaucer

Veteran
Veteran
Joined
Aug 6, 2014
Messages
399
Reaction score
639
First Language
English
Primarily Uses
RMMV
Scene Stabalizer : 7.2.0
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
561
Reaction score
351
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
509
Reaction score
805
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
399
Reaction score
639
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

Your Friendly Neighborhood Shapeshifter
Veteran
Joined
Dec 9, 2017
Messages
1,191
Reaction score
1,448
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
561
Reaction score
351
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.
 

Slaughty

Ssshhh...
Veteran
Joined
May 14, 2017
Messages
730
Reaction score
766
First Language
English
Primarily Uses
RMMZ
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
563
Reaction score
266
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
55
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
563
Reaction score
266
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
399
Reaction score
639
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
256
Reaction score
143
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
399
Reaction score
639
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
563
Reaction score
266
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,492
Reaction score
1,411
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
399
Reaction score
639
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
173
First Language
English
Primarily Uses
N/A
Where should this plugin be placed? Above everything else?
 

chaucer

Veteran
Veteran
Joined
Aug 6, 2014
Messages
399
Reaction score
639
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. :)
 

Latest Threads

Latest Posts

Latest Profile Posts

Well, now all of my Refreshable Events scripts also feature some brand new demos to let people see how easy it is to let the script handle the refreshing of a given set of events. All of this with just one specific script call per event!
Sorry Kitty...I'm practicing my harmonics. RIP your ears.
I noticed they now have a Gremlins cartoon. Nothing like striking when the iron is hot then trying to make a reboot from a movie made 34 years ago.
Up to 40,000,000 people just became felons by bureaucratic decree today in the US. If you own certain configurations of plastic and velcro, best make sure you aren't risking 10 years behind bars. Just had to take back my mom's mothers day gift from three years ago. Fun times, thanks unelected bureaucrats.
Someone help me, how to Failed to load img/system/Window%20%20%E5%89%AF%E6%9C%AC%20(2) .png in joiplay emulator on android

Forum statistics

Threads
131,584
Messages
1,221,243
Members
173,280
Latest member
ajgamerX
Top