You can follow the fix that Axial Escape mentioned here which seems to prevent the error: https://itch.io/post/9934605
This does not appear to be a compatibility error with Battleback Plus but instead an issue with Victor Engine itself. Please follow up with Victor Engine's devs to have them issue an official patch that addresses this bug.
I am going to keep testing to see If I can find what is causing this... oddly when I add a foreground element, it does add the sprite properly, but it frequently flickers in and out of the foreground. For maybe 1 or 2 frames at a time I can see that it is indeed in the foreground overlaid on player characters and enemies. Then it flickers back into the background behind them. Even more oddly, when I open the console and keep it open, it works perfectly and the sprite is in the foreground. Never seen something like this, maybe something with the update function or some timing is getting screwed up. My project often runs slower with the console open as I'm sure many do. Too hard to pinpoint a plugin conflict since I am using so many and also some custom plugins of my own.
That is indeed quite odd! Thanks for looking into it. Let us know if you find any more about it and we can see where we need to roll out the necessary fixes :)
If you could share with us screencaps/video of the following we can look into it as currently we are unable to replicate the issue on our side.
- List of plugins in your Plugin Manager
- Video/GIF of the Error as it is happening
- Console Log roughly when the Error happens
Because you mentioned that your project uses custom plugins, you can also send a share link to our business email for a GDrive/Dropbox/Mega folder that contains your project. This would allow us to offer more than a general solution to the issue and allow for a faster response. Once the problem is resolved, you may revoke our access to the project and we'll delete any files we have locally. If that doesn't work for you, that's totally fine, we can continue to go back and forth in this thread.
These 2 functions are called during the update function for Spriteset_Battle which sorts all sprites based on z,h, and y values. Foreground battlebacks added by your plugin are sorted to the end of the list. Presumably there is a small timing conflict which is why for an occasional frame or 2 the sprites were not sorted yet and the foreground displayed as anticipated. For now I have commented out Victor's Spriteset_Battle.prototype.sortBattleSprites function. I do not know what unintended effects this will have for fellow Victor Engine users, but it does appear to solve this compatibility issue with your plugin. I don't think there's any updates to be made to your plugin, just for anyone using VictorEngine, try commenting out that functions definition. I will update again if I find it breaks something else.
The description says it can add foreground elements.
I have a project where I want to have a battle take place in a forest. Will this plugin allow me to add a few trees to make it look like the battlers (enemy and player) are standing behind them? Or are these foreground elements only for effects / distortions / animated elements?
With the plugin, you should be able to add anything that you could use as a picture or parallax image. So, having trees in the foreground that frame a Battle scene should be doable :)
Yes, this plugin is only RPG Maker MV compatible. At least as of now, there is not a version of YEP_ImprovedBattlebacks that is MZ compatible so we have no way of testing whether this plugin which extends that works or not. If that changes in the future, we will be sure to update this plugin accordingly.
← Return to tool
Comments
Log in with itch.io to leave a comment.
Hello!
Was there a fix for the below mentioned victor engine incompability yet?
Have a good one.
Hello Fooljastic,
You can follow the fix that Axial Escape mentioned here which seems to prevent the error: https://itch.io/post/9934605
This does not appear to be a compatibility error with Battleback Plus but instead an issue with Victor Engine itself. Please follow up with Victor Engine's devs to have them issue an official patch that addresses this bug.
Thanks,
MythAtelier Team
I am going to keep testing to see If I can find what is causing this... oddly when I add a foreground element, it does add the sprite properly, but it frequently flickers in and out of the foreground. For maybe 1 or 2 frames at a time I can see that it is indeed in the foreground overlaid on player characters and enemies. Then it flickers back into the background behind them. Even more oddly, when I open the console and keep it open, it works perfectly and the sprite is in the foreground. Never seen something like this, maybe something with the update function or some timing is getting screwed up. My project often runs slower with the console open as I'm sure many do. Too hard to pinpoint a plugin conflict since I am using so many and also some custom plugins of my own.
That is indeed quite odd! Thanks for looking into it. Let us know if you find any more about it and we can see where we need to roll out the necessary fixes :)
Any random thoughts come to your mind why this could be, Myth? I love these extensions to this battleback functionality.
If you could share with us screencaps/video of the following we can look into it as currently we are unable to replicate the issue on our side.
- List of plugins in your Plugin Manager
- Video/GIF of the Error as it is happening
- Console Log roughly when the Error happens
Because you mentioned that your project uses custom plugins, you can also send a share link to our business email for a GDrive/Dropbox/Mega folder that contains your project. This would allow us to offer more than a general solution to the issue and allow for a faster response. Once the problem is resolved, you may revoke our access to the project and we'll delete any files we have locally. If that doesn't work for you, that's totally fine, we can continue to go back and forth in this thread.
Update
The issue is Victor Engine's Basic Module and Battle Motions, specifically these 2 functions found in Basic Module
Spriteset_Battle.prototype.sortBattleSprites
Spriteset_Battle.prototype.compareBattleSprites
These 2 functions are called during the update function for Spriteset_Battle which sorts all sprites based on z,h, and y values. Foreground battlebacks added by your plugin are sorted to the end of the list. Presumably there is a small timing conflict which is why for an occasional frame or 2 the sprites were not sorted yet and the foreground displayed as anticipated. For now I have commented out Victor's Spriteset_Battle.prototype.sortBattleSprites function. I do not know what unintended effects this will have for fellow Victor Engine users, but it does appear to solve this compatibility issue with your plugin. I don't think there's any updates to be made to your plugin, just for anyone using VictorEngine, try commenting out that functions definition. I will update again if I find it breaks something else.
The description says it can add foreground elements.
I have a project where I want to have a battle take place in a forest. Will this plugin allow me to add a few trees to make it look like the battlers (enemy and player) are standing behind them? Or are these foreground elements only for effects / distortions / animated elements?
With the plugin, you should be able to add anything that you could use as a picture or parallax image. So, having trees in the foreground that frame a Battle scene should be doable :)
Hi. Can you make a version for RPG Maker XP?. Regards!
I have to say this looks very cool indeed, does this only work for rpg maker mv?
Yes, this plugin is only RPG Maker MV compatible. At least as of now, there is not a version of YEP_ImprovedBattlebacks that is MZ compatible so we have no way of testing whether this plugin which extends that works or not. If that changes in the future, we will be sure to update this plugin accordingly.