TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: A UIKit Game Engine

33 pointsby moshbermabout 12 years ago

5 comments

shaneljaabout 12 years ago
I don't know if I'm lazy or not, but the fact that I have to commit to downloading and running it before I can see what exactly it does is pretty off putting to me.
评论 #5657985 未加载
评论 #5658477 未加载
评论 #5658325 未加载
评论 #5658597 未加载
winter_blueabout 12 years ago
Wouldn't drawing with UIKit be less efficient than using an OpenGL backend?<p>SDL[1] on Windows for instance, falls back to GDL when proper DirectX support isn't available. GDI is what most GUI apps use to draw their elements on Windows. It is akin to UIKit on iOS. But GDI is horribly slow as all the computation is done on the CPU.<p>In fact, realizing this fact, Microsoft has recently developed Direct2D, which does the computation on the GPU and which regular GUI apps can use to achieve better performance. (BTW, I believe Direct2D is somewhat similar to Cairo 2D.)<p>[1] Simple DirectMedia Layer -- used by plenty of games to achieve cross-platform compatibility. Most games in the Humble Indie Bundle use this.
评论 #5658300 未加载
评论 #5658250 未加载
评论 #5658517 未加载
SeoxySabout 12 years ago
This is an admirable effort, but I would not recommend ever using this in practice. I am saying this from experience: I wrote a game engine on top of UIKit, which I spent months trying to fine-tune before finally ditching it and re-writing everything to use Cocos2d.<p>The performance aspect is just not there. Once you get to a game with a large number of sprites and animations, animations will jitter and glitch. You're really going to be stretching what Core Animation can handle.<p>What I usually recommend these days is to use Cocos2d for your main game view, but using UIKit for the rest of the interface (menus, score screens, etc.).
评论 #5659440 未加载
评论 #5659384 未加载
saejoxabout 12 years ago
+1 for native!
shloimeabout 12 years ago
Who knew a fellow Landow grad knows how to code? ;)
评论 #5658724 未加载