开发者

Does Doodle Jump use UIKit or OpenGL ES

开发者 https://www.devze.com 2023-01-06 18:02 出处:网络
looking at the iPhone app Doodle Jump I am not quite sure what kind of technologie Lima Sky used to draw 开发者_如何学JAVAthe graphics. Is it UIKit, CoreAnimation, OpenGL ES or a combination. All Some

looking at the iPhone app Doodle Jump I am not quite sure what kind of technologie Lima Sky used to draw 开发者_如何学JAVAthe graphics. Is it UIKit, CoreAnimation, OpenGL ES or a combination. All Some hint for UIKit or some sort of combination is the theme selector at the bottom of the main menu, which acts like some kind of a UIControl.

Somebody has an idea?

Thx, Kie


I'm sure it is OpenGL ES. Like Horace said, they have said so in an interview. I didn't think their statement meant "Core Graphics which is backed by OpenGL," I think it meant what it said, which is simply "OpenGL." (ES). It makes sense, if only because Apple's documentation recommends OpenGL ES for game graphics. It's a fairly simple game, but there is still a lot going on (for example, a thread looking up scores on a remote server, an algorithm to select upcoming terrain, collision detection with platforms and monsters and nose balls) and as a developer you would want direct control over the graphics rendering at the lowest reasonable level. Also, ES is just as usable for 2D graphics as for 3D, so assuming a 2D game uses Quartz just because it is 2D is silly.


According to an interview, it's OpenGL.


As it's only 2D drawing I suppose they mainly used Quartz for drawing with some UIKit components and Core Animation.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号