Best solution for implementing dynamic standing images/animations?

I'm trying to mess around with qABS so all the things I talk about would be in the context of on-map graphics and sprite-based combat and hitbox-coded collisions and skills (no turn-based combat).

I would like to have a standing image of my character displayed at all times on the side of the screen. Sort of like this:

Standing image.jpg

When my character is battling (ABS) I'd like to have precise control over the standing image so I can implement battle poses, animations, visual effects, animation loops etc with triggers such as dealing damage, taking damage, using certain skills, etc.

For example, by default, I'd love to have my character's standing image (not sprite) to be able to sorta sigh and breathe on a loop. When I perform a sword slash, the standing image could play a short animation of the character swinging a sword then return back to the default idle standing animation loop. Or when the character is hit with an attack, the standing image could play a short animation of the character recoiling from the blow. Once again, I'm referring to animations and visuals for the standing image. Not sprites.

I figure I could have the default standing image as an invisible parallel event on each map and swap out the picture with a switch or variable system based on enemy events? I'm not sure if that'd play nicely with qABS though and depending on how many standing images I use, I figure that could also get pretty messy. Not sure how well that would run from an optimization perspective as well.

Are there any other approaches or plugins that would give me this level of control (or better) and possibly be better in terms of simplicity or optimization?

I don't mean to ask this question as a means of skipping the effort of my own experimentation or searches but I'd really appreciate any insights that could give me a kick in the right direction.

Thank you in advance!
perhaps that could be possible with srd hudmaker plugin..
but i am not sure if that would solve all your needs..
(just an idea)
perhaps that could be possible with srd hudmaker plugin..
but i am not sure if that would solve all your needs..
(just an idea)

SRD's HUDMaker unfortunately doesn't seem to really support animations let alone animation loops. Like, you can "animate" the pictures by moving them around the screen on the x and y axis and rotate them but that's about it. I'm also having a bit of trouble getting it to work alongside qABS.

But yeah, even if I could get it working properly, unless I'm missing something I unfortunately don't think that SRD's HUDMaker would really fulfill what I need.

Appreciate the response though, thank you very much!
hudmaker is more for creating HUD's, not poses to loop in general.
best way is either event and check when the player is hit to change for x frames
and return to default when not taking dmg or when HP is lower to change to that image.

but I dont know what the best way would be though, maybe a plugin to handle this
if you also want it animated.

I know olvia or irina have animated picture that can loop, but not sure if that even
will work for your needs.
hudmaker is more for creating HUD's, not poses to loop in general.
best way is either event and check when the player is hit to change for x frames
and return to default when not taking dmg or when HP is lower to change to that image.

but I dont know what the best way would be though, maybe a plugin to handle this
if you also want it animated.

I know olvia or irina have animated picture that can loop, but not sure if that even
will work for your needs.

Yeah, I'm thinking to save space, I could just have a multi-condition event that uses switches for trigger conditions and have enemy events flip switches depending on if they make contact with the player or something and simply have the "Default standing picture" be the one active when there are no switches on.

Do you know if I'd be able to do that with animations and animation loops though?
it is possible, but this require switches to be on and off, if you have 4 different
poses, it needs at least 4 switches to turn on and off after x frames or after animation.
so if an animation takes 120 frames, than the look would be awefull, so you need to
test it constantly to time it really well.

it just take some time to make this work smoothly, possibilities with eventing alone
are almost endless, but this also require a preload plugin like galv so it wont flicker
the first time in the transition 🙂
it is possible, but this require switches to be on and off, if you have 4 different
poses, it needs at least 4 switches to turn on and off after x frames or after animation.
so if an animation takes 120 frames, than the look would be awefull, so you need to
test it constantly to time it really well.

it just take some time to make this work smoothly, possibilities with eventing alone
are almost endless, but this also require a preload plugin like galv so it wont flicker
the first time in the transition 🙂

Sorry for the trouble but could elaborate a bit on why an animation taking 120 frames would look bad? Trying to wrap my head around it.

And yeah, I'll do some hunting for a plug-in that can handle on-screen animations nicely to see if I can't take that bulk out of the equation of the eventing.

Thank you!
if a dmg only take 1 second or less, so does the bust, if the player gets 4 hits in 2 seconds,
than it's either wait for the other 3 hits or it is static during those hits.

if you want for example that the image shakes during the hits, it need to shake upon every hit.
so it also depends how long the animations are that plays and how long the hits takes and if
there is a delay in those or not.

if you make it so that it is equal, it looks much better 🙂
if a dmg only take 1 second or less, so does the bust, if the player gets 4 hits in 2 seconds,
than it's either wait for the other 3 hits or it is static during those hits.

if you want for example that the image shakes during the hits, it need to shake upon every hit.
so it also depends how long the animations are that plays and how long the hits takes and if
there is a delay in those or not.

if you make it so that it is equal, it looks much better 🙂

Ahhhh I see what you mean. I hadn't considered that.
I do plan on implementing an invulnerability period after taking damage so maybe I could time that up with the animations and standardize their duration across the board. Thanks for the tip!
For anybody that stumbles onto this thread later on, Yanfly actually put out a Picture Spritesheet Plugin which allows you to essentially have a spritesheet animation in the place of any picture.

I haven't tested it thoroughly yet but I feel like it'd be much more optimized than eventing each frame manually since with Yanfly's plugin, you'd instead be looking at segments of a single large image spritesheet as opposed to loading several pictures in quick succession constantly.

Original thread: https://forums.rpgmakerweb.com/threads/best-solution-for-implementing-dynamic-standing-images-animations.131804/