File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes iOS and the fly likes Making Games Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » iOS
Bookmark "Making Games" Watch "Making Games" New topic
Author

Making Games

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3476

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

Joined: Jan 10, 2002
Posts: 60782
    
  65

Why don't you take a look at existing iPhone/iPad games for inspiration? Tabs and toolbars are desktop application artifacts.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3476

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

Joined: Jan 10, 2002
Posts: 60782
    
  65

Have you tried to locate references on writing applications for the iPhone?
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3476

I'm already learning how to make iPhone applications but games look like a complete different story.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3476

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

Joined: Jan 30, 2006
Posts: 41
Here, take a look at this...

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

 
Consider Paul's rocket mass heater.
 
subject: Making Games
 
Similar Threads
complete newbie, no experience
running .exe files from a page
how powerful is java in this area ?
Need some ideas for creating a java game....
Learning Android - Slick2D for Android