How do you achieve an effect like this?

https://gyazo.com/7cca36a4d7e32ea5c2d0da4c327c12ff

The star effects? How is this done?

cloning and tweening and destroying

star = examplestar clone

tweenservice tween star random position around label

add star to debris for tween time

Is this supposed to mean something? lol

Also there is a glowing effect around the star, curious how to achieve this. If anyone has an example to show.

1 Like

I sent you a code example on how you could code it.

The glowing effect could be the same star but edited to blur it out and have it glow.

Based on the gif, it seems like it’s:

Cloning a star, which has a size of 0, then setting it to a random position around the star. Then, using a tween or a loop, repeatedly rotate the star while gradually increasing its size. Then to make it fade out, it just has the size shrink back down to 0.

Regarding the glowing effect - I believe that it’s just part of the image, so there’s no special code or things added for it.

Made something similar to the glow effect a while back. Two ways of doing it:

  1. Have another imageLabel with two (or one) stripes at an angle and make it a child of your main imageLabel. Then enable ClipDescendants so the stripe effect is bounded.
  2. Using a UIGradient, set the colour like the image below, and then tween the Offset

image
image

For the video above, I used a seperate imageLabel with ClipDescendants, but I’ve used both methods before and both work.

For the starts portion, just set a random position and then tween the size. Then delete when the tween is finished.

1 Like

What the heck you talking about code example lol…

do you not know what coding is