Made a 2d game in opengl ES for iphone. Should i use uikit for the interface on top of it?
I made a very simple 2d game with OpenGl ES for开发者_开发知识库 Iphone (kind of tetris mixed with arkanoid stuff, for fun). Now i need to build the UI below (playground is transparent) and on top of the play space. Score, level and player display, background animation, control buttons... Should i (can i?) use Uikit for all these elements ? Is openGL recommended ? if so, why ? performance wise ?
THX all
In addition to the link Brad Larson listed, I wanted to add that making a transparent openGL layer is easy, however it will cause a drag on performance. The amount depends on several factors, but for a simple game, having a transparent openGL layer shouldn't be a problem. However, with a large number of polygons I saw a performance hit.
精彩评论