Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Flicker Fade Over Time Expression

Engaged ,
Jul 06, 2023 Jul 06, 2023

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. 

TOPICS
Expressions
405
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 06, 2023 Jul 06, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jul 06, 2023 Jul 06, 2023
LATEST

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!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines