A quick question about making a sprite flicker.

I want to have a flickering sprite in some of my cutscenes (it's supposed to be a ghost) and I'm pretty sure that the proper way to do this is by running a parallel process with the sprite graphic being turned on and off by movement routes... right? Or not? Is there a better way to do it?

Anyway, my main question is... what is a good frequency to have it flicker at, as fast as possible, without being a potential epileptic seizure danger? How many frames should I wait between turning the sprite graphic on and off? If it matters at all, my game is designed to look like an NES game.
a parallel process would cause a lot of lag.

why not simply make a sprite with the middle column completely blan, letting the default animation tae care of the flicering?
As far as epilepsy goes, there is no concrete number. I Googled "epilepsy flicker rate" and it says 3-30 hertz are common trigger rates, but it can go up to 60 and it's completely dependent on the individual.
like ATT_Turan said, but also if you faster like in shooting games
of the gun shots/uzi's etc.

those can trigger it fast, as I can get them as I got it before.
specially by bright lights on playing a game, so I need to make breaks.

the best approach is like Andar said, which is the best way or a plugin with
more frames for a tiny fade out/in effect.

but avoid parallel proces if not needed as to many can make the game lag.
I'd do this like Andar says, middle stepping frame blank with Stepping and Walking animation enabled.

Characters can only perform one move route at a time. For a stationary character, though, you could just use Change Opacity or Transparent ON/OFF commands in its autonomous move route.
So I tried using the autonomous movement route, and both change opacity and changing the graphic itself to cause the flicker effect... but it's not working. It just won't flicker. It works if I make an event flicker briefly from within the main cutscene event, but I can't make it flicker on it's own. Basically, I need to make this event flicker constantly until a switch is activated later to make the event disappear.

1671146941852.png


Basically, the cutscene trigger will cause a bunch of stuff to happen, and then the party moves north towards that glowing blue spot at the top. The blue spot is supposed to turn into a flickering person (via a switch), but it just... doesn't. I mean, it does turn into a person, but he won't flicker. Any idea what I'm doing wrong?
show us screenshots of th event pages so we know how you do things, only then we can check why things might happen
1671149752424.png

^ That's the event that causes the NPC (Nimwu) to appear. It's an exceptionally long event but that's the relevant part. The show picture events are for a slow fade in/out effect.

1671149871496.png

^ Here is the Nimwu event. The first page is that glowing orb at the top of the map, and then it changes to the man, who is supposed to flicker, but doesn't.
what is on the third page?

higher page number = higher priority, which means that the third page is more important than the second page if all conditions are fulfilled.
what is on the third page?

higher page number = higher priority, which means that the third page is more important than the second page if all conditions are fulfilled.
In both events, the latter pages are just blank pages with no commands, triggered by a single switch that becomes activated later.
Does this Nimwu person walk around, or does he remain in one place? Because if he's stationary, you shouldn't need a movement route if I understood Andar's solution correctly. It should be as simple as turning on the stepping animation.
Does this Nimwu person walk around, or does he remain in one place? Because if he's stationary, you shouldn't need a movement route if I understood Andar's solution correctly. It should be as simple as turning on the stepping animation.

He's stationary. But I feel like using the stepping animation would make him flicker way too slowly.
He's stationary. But I feel like using the stepping animation would make him flicker way too slowly.
Did you see if changing the speed of movement does anything?
Did you see if changing the speed of movement does anything?

Yeah, I just tried it. It flickers way too slowly, even at the highest possible speed.
in that case, instead of using image none/sprite, use transparent ON/OFF.
in that case, instead of using image none/sprite, use transparent ON/OFF.

I already tried that 🙁 It's not working.

So I had a thought, but I'm not sure if it has anything to do with why it's not working. Basically the way the cutscene here works is like this:

1. The player steps on the tile that I pointed out earlier. It fades out the screen, then enables a switch which causes the player to become transparent, and the tile that they're standing on becomes an avatar of the player character by switching the event tile to page 2. This allows me to use the transparent player character as a sort of camera control by moving them around while the fake player sprite is the one running all of the events that occur. However, all of the commands in that event are running from page 1, while the sprite of the player character appears on page 2 via the switch.

1671321571783.png


Could the fact that the event has technically moved on to page 2 be what is causing it to fail to cause the other event to flicker once prompted?
Don't mix characters you control in cutscenes with the event commands that run the scene itself. The characters need to be their own events that you control from an entirely different event.

Also, only ever trigger a new event page when everything you need done on the first page is done, as event pages with higher numbers have priority, so if the requirements for a higher page to be active are met, lower pages will get ignored. So yeah, the way you've organized this scene is impeding you.
Don't mix characters you control in cutscenes with the event commands that run the scene itself. The characters need to be their own events that you control from an entirely different event.

Also, only ever trigger a new event page when everything you need done on the first page is done, as event pages with higher numbers have priority, so if the requirements for a higher page to be active are met, lower pages will get ignored. So yeah, the way you've organized this scene is impeding you.

Well, it does play out the rest of the cutscene flawlessly, even after the page change. The only thing that seems to not be working properly is making that one NPC flicker.
Well, seems like the scene still completes. That's good, but I'm stumped at the moment.
I already tried that 🙁 It's not working.
wrong transperancy command.

I was taling about the transparency commands inside the move route, replacing only the image commands inside the move route, nothing else

Original thread: https://forums.rpgmakerweb.com/threads/a-quick-question-about-making-a-sprite-flicker.153331/