flashing when taking damage ?

Hi,
At the moment I am adding trap and puzzle systems and I saw something interesting

I try to make my character blink (see GIF below) when I take damage via my traps.

I thought of applying a red filter, but it applies to the whole screen, I don't think it's very nice, I'd like it to be only the character that flashes.

I thought of putting a timer and change the skin of my character for a moment, but I do not think it is the right solution

unchainedgif1.gif


Do you know how I could do the same?

Thank you!
it partially depends on how your traps are evented, so a screenshot of those event commands would help.

your idea with changing sprite and timer is basically the only way (unless you want a custom plugin), but as you said the timer can be difficult to do depending on how your traps work.

EDIT playing an animation above the sprite might also work, but that requires careful art and placement for the animation effect.
Yeah, apply a color effect to the sprite in GIMP and I presume your projectiles are events...so give them an event touch trigger with commands to change the character's sprite for a few frames.

If you want to avoid the image editing, you could also make the projectiles give the player a move route command and change the opacity back and forth to make them flicker.
I thought that my idea of changing the skin was not good but I will follow your advice and proceed as follows thank you !
Hello!
Do you just want a flash effect on the player character? Try creating a battle animation with no graphics, containing just the flash effect.
Good luck!
Hello!
Do you just want a flash effect on the player character? Try creating a battle animation with no graphics, containing just the flash effect.
Good luck!
I'm not very good at making animations ;_;
Making a flashing effect by alternating a normal skin and a skin with red filter is easier for me
You don't need to create any animation with graphics, just create a new empty one and in the "SE and Flash Timing" include a flash with the damage color tone:
01_08_09_img01_rez.png


😔
You don't need to create any animation with graphics, just create a new empty one and in the "SE and Flash Timing" include a flash with the damage color tone:
View attachment 205636

😔
Ok I thought it was flashing the whole screen (and not only the character), I'll go and try that thanks a lot !

Original thread: https://forums.rpgmakerweb.com/threads/flashing-when-taking-damage.141755/