Creating a simple game: OpenGL ES or UIView?

8 views
Skip to first unread message

Enrico

unread,
Mar 10, 2010, 5:48:36 PM3/10/10
to iPhone Application Development Auditors
Hi all,

I'm trying to make a simple game, like blackjack, or pacman, or one of
the "idiot tests" if you know what i'm talking about. The question is,
would I need to use OpenGL ES, or would UIView be sufficient? I
imagine I'd have to use enormous amount of UIViews if I don't use
OpenGL, however I don't really know how to use OpenGL either (I've
just borrowed the red openGL book from a library, but it doesn't talk
about iPhone OpenGL at all)

I've done the CS193P course, but I'm still lost in this kind of stuff!

Cheers

galen

unread,
Mar 11, 2010, 2:23:35 AM3/11/10
to iPhone Application Development Auditors
E,

I think quartz would probably be fine for this.
I'm still learning as well, but it seems that you don't have to have a
new view for every bitmap you display.

Start with your HelloPoly program and try to display bitmaps on the
screen using CG functionality.

G

Gh Portefait

unread,
Mar 11, 2010, 3:34:07 AM3/11/10
to iphone-appd...@googlegroups.com, iPhone Application Development Auditors
I would say as Well Thatcher Core graphics should be enough quartz is
powerful... ;)
Chewbee

Envoyé de mon iPhone

> --
> You received this message because you are subscribed to the Google
> Groups "iPhone Application Development Auditors" group.
> To post to this group, send email to iphone-appd...@googlegroups.com
> .
> To unsubscribe from this group, send email to iphone-appdev-aud...@googlegroups.com
> .
> For more options, visit this group at http://groups.google.com/group/iphone-appdev-auditors?hl=en
> .
>

tda95lex

unread,
Mar 11, 2010, 3:57:09 AM3/11/10
to iPhone Application Development Auditors
I think that UIViews will do the job fine as long as you don't want to
do huge animation.

On Mar 11, 10:34 am, Gh Portefait <g...@portefait-golub.com> wrote:
> I would say as Well Thatcher Core graphics should be enough quartz is  
> powerful... ;)
> Chewbee
>
> Envoyé de mon iPhone
>

Enrico

unread,
Mar 11, 2010, 3:45:36 AM3/11/10
to iPhone Application Development Auditors
You think so? I've done my HelloPoly program but I didn't make the
polygons rotateable (probably this is what i'll do next before jumping
to quartz)

Would this be the guide that I needed:
http://developer.apple.com/iphone/library/documentation/Cocoa/Conceptual/CoreAnimation_guide/index.html
?

Found another discussion here:
http://stackoverflow.com/questions/1231202/core-animation-or-opengl-for-simple-iphone-game

galen

unread,
Mar 12, 2010, 1:01:06 AM3/12/10
to iPhone Application Development Auditors
Examples from the various popular books can be very useful:

http://github.com/erica/iphone-3.0-cookbook-

G

On Mar 11, 3:45 am, Enrico <enrico...@gmail.com> wrote:
> You think so? I've done my HelloPoly program but I didn't make the
> polygons rotateable (probably this is what i'll do next before jumping
> to quartz)
>

> Would this be the guide that I needed:http://developer.apple.com/iphone/library/documentation/Cocoa/Concept...
> ?
>
> Found another discussion here:http://stackoverflow.com/questions/1231202/core-animation-or-opengl-f...

bluelobe

unread,
Mar 13, 2010, 9:04:11 AM3/13/10
to iPhone Application Development Auditors
OpenGL ES is no laughing matter. It's going to take you weeks if not a
month or two to get familiar with it. So it's not a matter of deciding
what you want to use--you have to consider if you have the time to not
finish your app just to learn OpenGL ES programming on the iPhone.

Enrico

unread,
Mar 14, 2010, 10:51:18 PM3/14/10
to iPhone Application Development Auditors
I just looked around other forums and I found this: http://www.cocos2d-iphone.org/

This seems very cool, took me 15 minutes to install and another 30
minutes to play around with the library. Quite nice and simple, I'm
yet to play around more with the library. If anyone's interested, I'll
report back what's good and bad about this in a week or two.

P.S. It's basically just a front end of Open GL.

Tony Adams

unread,
Mar 15, 2010, 12:57:54 PM3/15/10
to iPhone Application Development Auditors
Count me as interested. I look forward to your report!

Jhondie Abenaza

unread,
Mar 15, 2010, 10:06:31 PM3/15/10
to iphone-appd...@googlegroups.com
me too.

cheers,
-Jd

Gh Portefait

unread,
Mar 16, 2010, 12:27:15 PM3/16/10
to iphone-appd...@googlegroups.com
Same ;)

Envoyé de mon iPhone

Jose Ochoa

unread,
Mar 16, 2010, 1:15:24 PM3/16/10
to iphone-appd...@googlegroups.com, iphone-appd...@googlegroups.com
FYI, OpenGL ES is the topic for the most recent CS193P lecture posted on the class website (posted last night).

Regards,
-Jose   
Reply all
Reply to author
Forward
0 new messages