File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Making Games

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,
Currently I'm trying to create my first iPhone application but there is something I don't understand.
How to make a game like -for example- "The Iron Man"?
I mean there is no TabBar, no ToolBar, no navigations no other components and controllers I'm reading about.
How to make such games?
Thanks.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64182
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why don't you take a look at existing iPhone/iPad games for inspiration? Tabs and toolbars are desktop application artifacts.
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe I didn't explain my question very well.
I checked "Iron Man" game on my friend's iPod.
The game is just like any gaming boxes games:
Loading with some logo => another loading => the game
The same is true -for example- for "Paper Toss" game.
My question is, when some one is creating such games for the iOS, what does he is using?
Is there a framework or something for creating games?
If they aren't using the provided components (the desktop application artifacts), what they are using?
Did I cleared my question?
Thanks again.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64182
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried to locate references on writing applications for the iPhone?
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm already learning how to make iPhone applications but games look like a complete different story.
 
Mark Spritzler
ranger
Sheriff
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A UIView doesn't have to have any of that stuff in it. If you create a View in Interface Builder there are properties that can remove the battery top bar and anything else.

The UIView will still have a View Controller. But most of these games just make a Window then start using the Core Graphics library to do their "screen" drawing, rather than using UI object like UITextField. They use things like CGGraphicsContext, CGPoint, etc.

It is an different approach, that you have to learn about and the standard Writing iPhone Apps doesn't really cover. Maybe a chapter later in the book, but for the most part you might need to find an iPhone Games development book instead.

Mark
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a book dedicated to this subject?
I found this book from PragProg:
http://www.pragprog.com/titles/bdcora/core-animation-for-mac-os-x-and-the-iphone
"Core Animation"
But it looks the book dedicated to the OS X with one last chapter for the iPhone.
 
alan wamser
Ranch Hand
Posts: 41
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here, take a look at this...

http://www.cocos2d-iphone.org/

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic