Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

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.

(+1)

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.