Large static pictures as a sideview battler?

I'm trying to replace the small chibi SV battler with a single large static pic that will take up like 1/3 of the game screen. Kinda like the gameboy Pokemon battle style.

The battler static pic will also change depending on what actions are taken by the character and what state they are in. Namely, when attacking, guarding, poisoned (or just debuffed), Low HP, and downed. All in all 6 pictures including idle stance.

I tried to impose the images on the 9x6 sprite battlersheet but the image size would be too large. Was wondering if anything else can be done.

Also I'm quite new to rpg maker, so pardon me if I can't grasp the coding part of the software right away.
I seem to recall the Victor's engine allows this.
Note that if you wanted a larger animated battler, you could just make a larger 9x6 battler sheet with a larger cell size using the larger image. For a static one that would mean having three identical copies of each state, though.
I seem to recall the Victor's engine allows this.
yes, it's this one : https://victorenginescripts.wordpress.com/rpg-maker-mv/battler-graphic-setup/
but his plugin has a huge memory leak, beware ! (it'll pretty much make the game close itself after few minutes of battle, the time it takes depends on the RAM you have on your device, and the sprites that keeps getting loaded more and more in-loop)

I patched the memory leak from that plugin, but I don't know if I'm allowed to redistribute it.
yes, it's this one : https://victorenginescripts.wordpress.com/rpg-maker-mv/battler-graphic-setup/
but his plugin has a huge memory leak, beware ! (it'll pretty much make the game close itself after few minutes of battle, the time it takes depends on the RAM you have on your device, and the sprites that keeps getting loaded more and more in-loop)

I patched the memory leak from that plugin, but I don't know if I'm allowed to redistribute it.

Look exactly like what I need. Thank you both!
Look exactly like what I need. Thank you both!
Though I can't recommend using it, it has a major flaw. Your game will close itself, crash without warning for all the players in battle. The only difference between all of them will be the time it will takes for it to crash.

There is a huge memory leak inside it, this plugin will add the sprite of the battlers in memory again and again at each sprite update (so, like 60 times per second), which makes it pretty un-usable.
Is Victor still maintaining that plugin?
I patched the memory leak from that plugin, but I don't know if I'm allowed to redistribute it.
Could you redistribute it as an extension plugin?
Is Victor still maintaining that plugin?
No he's not lol. Also the leak was pretty obvious, you can see the problem just by looking at the Sprite_Actor.prototype.updateBitmap function.
TLDR; He simply forgot in an Update function to check if the sprite needs an update, thus creating a new sprite for each battlers at each frame without the need for it, bombing the RAM.


Could you redistribute it as an extension plugin?
I couldn't find the terms of VE, also my patch isn't universal, I nailed together all the codes around Sprite_Actor.prototype.updateBitmap from all my plugins. Since you won't have exactly the same as me, it wouldn't work.

I would need to re-patch it in a way that can fits everyone (replace the modifications he made on that function to add a check and a condition). If no one else wants to do it, and if you really need it, then I'll do it. 👋
No he's not lol. Also the leak was pretty obvious, you can see the problem just by looking at the Sprite_Actor.prototype.updateBitmap function.
TLDR; He simply forgot in an Update function to check if the sprite needs an update, thus creating a new sprite for each battlers at each frame without the need for it, bombing the RAM.



I couldn't find the terms of VE, also my patch isn't universal, I nailed together all the codes around Sprite_Actor.prototype.updateBitmap from all my plugins. Since you won't have exactly the same as me, it wouldn't work.

I would need to re-patch it in a way that can fits everyone (replace the modifications he made on that function to add a check and a condition). If no one else wants to do it, and if you really need it, then I'll do it. 👋
OMg im literally looking all over every forum for something like this if its not too much to ask PLEASE fix it it would be awesome
OMg im literally looking all over every forum for something like this if its not too much to ask PLEASE fix it it would be awesome
Alright, I re-opened my old project, and tried to figure out what I modified, then re-applied the modifications in a way that could be "shared" for others projects.

I've attached the patch, it should be placed at the bottom of the plugin list. I am no expert in JavaScript in general, it has always been a nightmare for me, even when I was patching issues (memory leaks, plugins incompatibilities, ...) a year ago... OOP (object oriented programming) is not my cup of tea, and JS is a dumpster fire.

Victor Engine's Battler Graphic is required, but my patch will run regardless, because I do not know how to check if a plugin exists in the project, I did not learn how to do that, as I was doing stuff for my own project.

Try to run your project with this patch, then go in a battle with an actor that uses a static sprite, and open the task manager (WIN+R then taskmgr on Windows). Wait like 10~15 minutes in the battle and see if the memory used continue to go up without stopping (to know if the memory leak is still here). If it continue to go up, either
A. My patch do not work and I've missed a block of code that I've made a year ago.
B. You have another plugin that also causes a memory leak.

If it just crashes when entering a battle, my patch is probably at fault, as I am overwritting the Sprite_Actor.updateBitmap functions (check the error stack).

My workflow was a mess, I did a frankestein back then, I made YEP DragonBones and VE Battler Graphics compatibles for my game, and realized in the meantime that VE Battler Graphics had memory leaks to begin with, so I patched it for my game during that frankestein-making.

I do not have a lot of time, but if there is still a problem, I'll try to find spare-time to go back and patch it, though I cannot make any promise...

TL;DR: I am no good, especially a year after I already dealt with the issue, but here's my attempt regardless, need to be placed at the bottom of the plugin list, after any plugin that might overwrite Sprite_Actor (battle plugins).
Alright, I re-opened my old project, and tried to figure out what I modified, then re-applied the modifications in a way that could be "shared" for others projects.

I've attached the patch, it should be placed at the bottom of the plugin list. I am no expert in JavaScript in general, it has always been a nightmare for me, even when I was patching issues (memory leaks, plugins incompatibilities, ...) a year ago... OOP (object oriented programming) is not my cup of tea, and JS is a dumpster fire.

Victor Engine's Battler Graphic is required, but my patch will run regardless, because I do not know how to check if a plugin exists in the project, I did not learn how to do that, as I was doing stuff for my own project.

Try to run your project with this patch, then go in a battle with an actor that uses a static sprite, and open the task manager (WIN+R then taskmgr on Windows). Wait like 10~15 minutes in the battle and see if the memory used continue to go up without stopping (to know if the memory leak is still here). If it continue to go up, either
A. My patch do not work and I've missed a block of code that I've made a year ago.
B. You have another plugin that also causes a memory leak.

If it just crashes when entering a battle, my patch is probably at fault, as I am overwritting the Sprite_Actor.updateBitmap functions (check the error stack).

My workflow was a mess, I did a frankestein back then, I made YEP DragonBones and VE Battler Graphics compatibles for my game, and realized in the meantime that VE Battler Graphics had memory leaks to begin with, so I patched it for my game during that frankestein-making.

I do not have a lot of time, but if there is still a problem, I'll try to find spare-time to go back and patch it, though I cannot make any promise...

TL;DR: I am no good, especially a year after I already dealt with the issue, but here's my attempt regardless, need to be placed at the bottom of the plugin list, after any plugin that might overwrite Sprite_Actor (battle plugins).
Thanks this wouldve bin greate but i just found out that this plugin and the Vicctore Engine plugin all by itself arnt compatible with any of my other plugins such as yanflys plugins and such, i geus ill just contineu using commen events sorry for the possible inconveniance

Original thread: https://forums.rpgmakerweb.com/threads/large-static-pictures-as-a-sideview-battler.144181/