简体   繁体   中英

iPhone - Drawing 2D with OpenGL ES, fast and simple

I'm going to make a game for the iPhone, and I'm mostly going to be using images. I've read that using Quartz only is slow for actual games with high frame rates, so I was wondering if you guys had any good ideas for using OpenGL for rendering a game scene?

I'm going to be using a lot of images, and I want to be able to freely rotate them.

I've looked at Apple's examples GLSprite and GLPaint, but I don't really see anything I could use.

All I want to do is be able to render images at specific positions, and want to be able to rotate them.

I'm a noob at OpenGL, but I know Quartz.

Take a look at cocos-2d. It uses OpenGL instead of Quartz and supports making the kind of game you seem to want to make:

http://code.google.com/p/cocos2d-iphone/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM