Re:Show HN: A UIKit Game Engine
by winter_blue on Monday May 06, 2013 @09:34AM
(#5662247)
> I should release it one day as open source.. though is all OpenGL 1 so a little outdated on iOS these days.
You definitely should! :-D
You can worry about porting/updating it later. You might even get help in doing so, once you open-source it.
UIKit is fantastic for normal UI's and the 'general case' but almost certainly isnt optimised for doing efficient drawing of a large number of sprites / tiles (trading efficiency for flexibility).
Couple years ago I actually wrote my own API compatible version of UIKit but backed by OpenGL , and then extended support for these type of cases. As it was basically a drop in replacement I was able to confirm UIKit (at least at the time) was not very clever or fast when it came to a large view hierarchy. So my fraemwork was optimising for large batch drawing from a single texture mostly which is what you really want in the OP's case.
I should release it one day as open source.. though is all OpenGL 1 so a little outdated on iOS these days.