 |
 |
|
 |
01-27-2009, 03:16 PM
|
#1 (permalink)
|
|
Registered Member
Join Date: Jan 2009
Posts: 13
|
How to organize my 2D game?
Hi
I want to try and make a 2D game for my iPhone. It must have some menues (to start the game, highscore and such) and then the main game screen. The game screen will have some photo as background, and then various sprites on top of that photo, and for each level the photo and sprites changes.
So how would I best attack this?
Should I make a view based application with some UIViewController and use interface builder for the menues, and OpenGL ES for the game screen?
Or make it all in OpenGL ES, both menues and the game screen?
Or make a view based application with some UIViewController and use interface builder for the menues, and code a view with subviews for the game screen and sprites by hand not using OpenGL ES at all?
Best regards
Søren
|
|
|
01-27-2009, 05:01 PM
|
#2 (permalink)
|
|
Senior Member
iPhone Dev SDK Supporter
Join Date: Jul 2008
Location: San Mateo, CA (San Fran)
Posts: 2,449
|
Quote:
Originally Posted by neigaard
Should I make a view based application with some UIViewController and use interface builder for the menues, and OpenGL ES for the game screen?
|
I would do that one. OpenGL for the performance, regular views for the interface. You probably don't want to re-invent buttons, alerts, lists, and controls in OpenGL.
__________________
|
|
|
02-01-2009, 02:18 AM
|
#3 (permalink)
|
|
Registered Member
Join Date: Aug 2008
Posts: 43
|
You should look at the cocos2d library for iphone
|
|
|
 |
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
» Advertisements |
» Online Users: 509 |
| 54 members and 455 guests |
| alexcrick209, atsd, AXP, bbc z, BostonMerlin, brianmethod, cornishGeeza, dbarrett, dda, deden, DevJustin, Dorald, embedded, Gamer211, ggalante, gonk, harrytheshark, iPhoneDevelopment, IphoneSdk, Jeremy1026, jharrah, kjelleinar, krowczyk, Link, markbuchanan, MarkC, masc2279, mebarron, naomipunkclan, nibby, Noise, pbcbvba, pieter78, Sckah, Sesa, SimonK, sjdev, Snappy, soulless, StefanL, Tambourin, the1nz4ne, treazer, tturk, Type25, virvalid, Vivek Nirkhe, Vonswanko, wassupdoc, winklllll, x2on |
| Most users ever online was 779, 05-11-2009 at 10:55 AM. |
» Stats |
Members: 21,507
Threads: 35,791
Posts: 156,790
Top Poster: smasher (2,449)
|
| Welcome to our newest member, soulless |
|