Search Results for: uiview+animation

iPhone Game Programming: CoreAnimation vs. OpenGL ES

I saw an interesting question being asked by an aspiring iPhone game developer, "Should I use CoreAnimation or OpenGL ES?".

Simple answer:

Core Animation is fine for games where performance is not critical, and for new programmers will likely be easy to use, OpenGL is needed for anything else.

Long Answer:

Core Animation utilizes OpenGL ES, it is high level, and in my testing works fine in situations where performance is critical. 

Programming Spinning, Scaling Images & Buttons: Code Snippet

A few days ago I posted a code snippet of a couple of methods that allowed you to fade a view in and out.  What I didn’t expect was a number of positive messages on youtube, but it made me realize that transforms and animations of UIViews are something that many probably haven’t played around with much.  So I decided to post another method showing how scaling can be used and the interesting effects that can be generated.