简体   繁体   English

OpenGL ES问题(iPhone)

[英]OpenGL ES Questions (iPhone)

I'm planning on making a new game with OpenGL for the iPhone, but I first have a couple questions. 我正计划使用OpenGL为iPhone制作新游戏,但首先有几个问题。 First of all, I'm stuck between choosing OpenGL 1.1 or 2.0 (I know this question has been asked before, though I feel mine is a bit different). 首先,我陷入了选择OpenGL 1.1或2.0的困境之中(我知道这个问题以前曾被问过,尽管我觉得我的问题有所不同)。 I know that OpenGL 1.1 is compatible on all devices and and is a fixed-pipeline (it's easy to learn). 我知道OpenGL 1.1在所有设备上都兼容,并且是固定管线(易于学习)。 I know that 2.0 is a programmable-pipeline (it's harder). 我知道2.0是一条可编程的流水线(难度更大)。

I'm an indie developer who plans on making a 2D game with OpenGL ES. 我是一位独立开发人员,计划使用OpenGL ES制作2D游戏 I know that OpenGL ES 1.1 will be much easier,though tutorials for 1.1 are hard to find. 我知道OpenGL ES 1.1会容易得多,尽管很难找到1.1的教程。 2.0 is a lot harder but tutorials are everywhere. 2.0很难,但是教程无处不在。 I recently purchased "Learning iOS Game Programming", which, despite its name, is partially outdated (though teaches 1.1). 我最近购买了“ Learning iOS Game Programming”,尽管它的名字叫它有些过时(尽管教的是1.1)。

Bottom line: 1.1 or 2.0. 底线:1.1或2.0。 I want to get my app out as soon as possible. 我想尽快发布我的应用。 Also, if anyone knows any good books/tutorials, your feedback is welcome. 此外,如果有人知道任何好的书籍/教程,也欢迎您提供反馈。

This guy has some pretty good video tutorials, actual game code, and actually let's you use his code(for a real game it needs work). 这个人有一些非常不错的视频教程,实际的游戏代码,实际上,让您使用他的代码(对于真正的游戏,它需要工作)。

http://www.71squared.com/iphone-tutorials/ http://www.71squared.com/iphone-tutorials/

You get, particle systems, spritesheets, sound class, game states, etc 您会得到粒子系统,精灵表,声音类,游戏状态等

For a starter on gl-es 1.1 it's good. 对于使用gl-es 1.1的初学者来说,这很好。

If it all sounds too much, try a engine, if not, learn from the tuts and do your version, preferably not using objects, C structs and the like are much more easy on the ram. 如果听起来一切都太多了,请尝试使用引擎,如果不是,请从教程中学习并做您的版本,最好不要使用对象,C结构等在ram上容易得多。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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