After releasing my first iOS app I have received so many questions about the background’s animations.
I don’t remember how I thought about all of this, the only thing I can say is that the background class is the result of changes, changes and more changes. I wanted something nice, something eye-catching and colorful.
Let’s start from the beginning.
When I started programming my app I decided not to use any third party game frameworks (like Cocos2D) but native cocoa tools. That means all the animations in my app are done rather using Core Animation or animating some UIView’s properties.
Everything was all right, the 4 mini-games inside the app started to look like proper games. So like every proper game, the user has to be able to pause it. And no, don’t look at the documentation, there is no [myLayer pauseAnimation] nor [myLayer resumeAnimation].