iphone - For a real time game, Should I use core animation or redraw images frequently? -
say have move image across screen according user input....
should i?
- use core animation periodically animate movement in small chunks.
or
- redraw image @ different locations.
if there no clear answer, advantages of using each method?
coreanimation not made game programming, , doesn't have performance characteristics takes make real, playable game. may able make basic game coreanimation, it's @ point run these performance limitations, , @ point need rewrite codebase using real gaming engine.
to clear, coreanimation amazing , ideally suited task created, application ui development. doesn't take in terms of sprite count , size before hit performance wall when using in game. because have tried it.
my recommendation use 1 of easy, off-the-shelf gaming engines available on ios, cocos2d, write game. it's easy enough relative beginner, more suited game development both in terms of performance characteristics , api.
Comments
Post a Comment