Skip to main content
Gotta Dance
Inspiring
July 6, 2023
Question

Flicker Fade Over Time Expression

  • July 6, 2023
  • 1 reply
  • 489 views

Hi everybody,

 

I have a situation where I have a sprite that I need to flicker between two colors, but not only do I want to loop the animation, but I want it to slow to a stop over time. 

 

How is that "ramping" achieved using expressions? Is it some kind of multiplier over time? 

 

Sorry if that's a vague question. I'm a real dunce with expressions. 

This topic has been closed for replies.

1 reply

Dan Ebberts
Community Expert
Community Expert
July 6, 2023

It would be helpful in modeling it if you could post a screen cap example of what the timeline would look like if you keyframed it by hand.

Gotta Dance
Inspiring
July 6, 2023

Hi Dan,

 

So, I'm on a laptop so my screengrab is a bit limited. But the graphic is a little red sqaure and white square that alternate color every frame, every 2 frames, 4 frames, 8 frames etc until it slows to a stop. I tried to grab a frameset to show you what I mean. The graphic is at the top. 

 

I could possibly get away using frames, but knowing how to ramp up and ramp down loop commands would be a great fulcrum point to experiment for sure. Hopefully the scerenshot I posted helps illustrate what I'm doing. Thanks!