A per-frame battle event plugin for RPG Maker MV
A downloadable tool
Abstract
This is a plugin for RPG Maker MV.
The plugin lets you be able to create one or more per-frame (parallel) event page(s). The page(s) will run during a battle ignoring the battle phase.
By "during a battle", which means:
from: done with calling 'BattleManager.startBattle'
to: done with calling 'BattleManager.endBattle'
By "ignoring the battle phase.", which means, during a battle, even it is time for the player to decide actions, the event WILL run.
==== ==== ==== ====
How to use
1. Create one or more per-frame (parallel) event page(s):
via adding a 1-line comment:
@PERFRAME
with conditions set to "Don't run".
Be careful, if the page will run at a time without this plugin, then the page will also run at the time with this plugin.
The 1-line comment can be anywhere and be any indent in the page.
2. Install the plugin.
The plugin doesn't have any parameter.
Be aware that some plugins might cause deeper function calls not be called. You might have to change the order of plugins to get the best performance, or just simply put this plugin to the last of the plugins.
==== ==== ==== ====
Effect demo
See the YouTube video on the upper-right of this web page.
==== ==== ==== ====
Technical detail
This plugin creates several Game_Interpreter objects, depending on the amount of per-frame event pages, and call these Game_Interpreter's .update() in Scene_Battle.update().
==== ==== ==== ====
Terms of use
You can edit the code as you want but you still cannot claim all of the edited code is your work.
With ALL of the following conditions are true, you may decide not to credit it:
1. You use it in a game made with RPG Maker series.
2. you buy it or where you use don't have a credit page.
If you are not sure what to credit, you can just copy the following line:
perframeBattleEvents.js by agold404
Download
Click download now to get access to the following files:
Comments
Log in with itch.io to leave a comment.
update: force to run to the end of the event page after BattleManager.endBattle is called.