"Flashing" Tint?

Miru

Well-known member
How do I produce a tint that has a color-cycling effect? Similar to how this is done in many games (I.e. KOF series) using palettes that cycle, I want to do this using a tint effect, to add some extra oomph to my elemental Attacks.
 
Depends of which cycling ate you talking about. SF and Kof has different cycling.

In SF case, you can use multiple drawmethod tint to change each frame color.

In Kof case, it's a bit more complex. You have to cycle the maps, using script.
 
O Ilusionista said:
Depends of which cycling ate you talking about. SF and Kof has different cycling.

In SF case, you can use multiple drawmethod tint to change each frame color.

In Kof case, it's a bit more complex. You have to cycle the maps, using script.

I was initially thinking KOF style (in appearance, not mechanism), but SF style sounds a bit easier to pull off. Basically, I want to purely use tints for this if I can. 
 
For SF method, just add this to each frame you want to tint:

Code:
drawmethod	tintmode 1
drawmethod	tintcolor 236_146_0

The first line controls the alpha. The second is the RGB code of your color.
Just change the RGB values to your desired values.
 
On my phone so I can't write code, but if it were me, I'd write a timed tint rotating function and run it in the updated event.

The function would be set up look for specific animations and rotate the tints only while they were active.

The advantage over doing it in the model text is that you trade a bit more front end work for a lot less hassle in the long. It would also just look much better because the rotation timing would be completely independent of your animation frames.

DC
 
I expected you would say that, but I have doubts about it. Because it would rely in a updatescript, with is not light. Imagine if we have 4 or 5 characters on the screen which uses an updatescript just for that? Like we say here, It's a cannon shot to hit an ant.

I remember, some time ago, WhiteDragon explained to me that we should use ondrawn, which is lighter and since an specific build (I can't remember which one).

Honestly, I would not use an updatescript for that.
 
O Ilusionista said:
For SF method, just add this to each frame you want to tint:

Code:
drawmethod	tintmode 1
drawmethod	tintcolor 236_146_0

The first line controls the alpha. The second is the RGB code of your color.
Just change the RGB values to your desired values.

I’m actually using Damon Caskey’s tinting method script, so how do I do this with that? But I guess I will do these cycles individually for now. Thank you.
 
O Ilusionista said:

Depends greatly on how you do it. Unfortunately I can't go into a lot of detail since I'm on the road. I'll see about elaborating later.

Miru said:
I’m actually using Damon Caskey’s tinting method script, so how do I do this with that? But I guess I will do these cycles individually for now. Thank you.

You're halfway there then. You'll need to add a timer into my tint function to rotate through several tints (depending on taste). Bloodbane or O'Ill should be able to help there.

The animation detection is already there, so you shouldn't have any problem adding more animation checks.

DC
 
Back
Top Bottom