Performance Upgrade (Irina)

From Yanfly.moe Wiki
Jump to navigation Jump to search
IrinaPerformanceUpgrade.png


System

This is a plugin created for RPG Maker MV.

For help on how to install plugins, click here.

For help on how to update plugins, click here.

Got errors with your RPG Maker MV plugin? Click here.

Download

Atelier Irina

IrinaAvatar.png

This is a plugin created by Atelier Irina.

You can also follow Atelier Irina on itch.io.

Support e-mail: rpgmakerplugins+Irina@gmail.com

RPG Maker Version

This plugin is made for and tested on RPG Maker MV with version 1.6.2. I cannot guarantee if it works on lower versions. Some of the plugin parameters require the later updates of RPG Maker MV for you to be able to use their entries so please update RPG Maker MV to the latest version if you want the best experience in using this plugin.

Terms of Use

You are only allowed to use the plugins made by Atelier Irina if you agree to all of the following:

  1. These plugins may be used in free or commercial games.
  2. 'RPG Maker Irina' must be given credit in your games.
  3. You are allowed to edit the code.
  4. Do NOT change the filename, parameters, and information of the plugin.
  5. You are NOT allowed to redistribute these Plugins.
  6. You may NOT take code for your own released Plugins.

Introduction

This is a "plugin" of mostly performance upgrades shifts away from the usage of bitmap functions to WebGL and PIXI for better performance. Results may vary from computer to computer as PIXI alternatives depend highly on the PC's GPU. For those that this does affect, expect less lag spikes from many things like hue changes for enemies and animations, entering the main menu, or constant pixel grabs from the window skin.

Plugin Parameters

There are Plugin Parameters that you may configure for this plugin.

Animation Hue

Before:

After:

Animations with hue changes will cause lagspikes up initial loading. This will fix that by utilizing a PIXI filter to rotate the hues instead. Results may vary from PC to PC and if there is WebGL support.

Blur Menu Background

Before:

After:

Entering the main menu causes lag because it requires taking a snapshot of the current map screen, using a bitmap blur effect, and then using that as a background. The bitmap blur effect will consume immense amounts of processing power depending on how large your game's resolution is. Turning this on will divert that to a filter instead. The first few times you open, there will still be some lag due to loading the assets, but after that, this won't happen anymore.

Cache Text Colors

Grabbing text colors makes the game open and close the windowskin file to do a pixel information grab every single time. The pixel information grab will only occur once per color and after that, it will be cached from that point onward.

Enemy Hue

Enemies with hue changes will cause lagspikes depending on how large the enemy bitmap is. A PIXI filter is applied to the enemy to reduce the lagspikes. Results may vary from PC to PC and if there is WebGL support.

PIXI Container Flush

This will remove textures from sprite children whenever they're removed to properly flush them from memory and giving the game more room to work with when new assets are loaded.

Skip Unnecessary Snapshots

Some scene changes make unnecessary snapshots of the screen sometimes. The larger the game resolution, the more likely there is of a lagspike. This will bypass those snapshots and only make do with them if there's a need for the snapshot of the screen to occur.

Changelog

  • 2019.02.25 Fixed menu backgrounds not appearing issue if Skip Unnecessary Snapshots is enabled.
  • 2019.02.26 Fixed animation blend modes from not appearing