Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
383 views
in Technique[技术] by (71.8m points)

swift - How to animate background of a Sprite-Kit game just like the login screen of Instagram iOS app?

I am creating a game in Sprite-Kit and would want to animate the background in the similar fashion as Instagram does on its login screen.

Basically, I just want to know how to have a background in my game just like the Instagram app has on its login screen, i.e the pink colored screen which gradually changes to violet color and then to red with a very subtle flowing effect from right to left. I know how to animate the gradient but that subtle effect that I'm talking about which gives quite a view of a gas or stream flowing (I'm in love with that effect) doesn't seem to be happening.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

You could use a framework such as BackgroundVideoiOS as seen on github


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...