Fireworks

DO NOT READ THIS if you have real work to do!

I was just wondering how the apps do the firework (etc) effect.
Like when you type “congratulations” in a text and the screen erupts.

I can guess at a few ways, but is there a straightforward answer? I’m imagining animating a container control that is made visible above the current screen… Something like that?

There are particle effects you can use. I’d have to google it to find the exact reference, but they are built in to sprite kit or uikit I think. Shouldn’t take long to find a tutorial if you search for it.

Thank you.

There’s a very simple particle effect demo included in the iOS example projects:

Examples/iOS/Graphics/SparkleTouch

1 Like

interesting. I am guessing I could find a way to do that in a container with transparency above the current screen.
Thanks, Paul.