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

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -