create cup on cocos2d - iphone

I am creating one game in iphone in that I want to through any object in one box . link paper toss game. in this application user thorough paper in a glass. same think i want to do .
Can any one know how to create this game . any sample code to do this.
Thanks in advance

To answer your question, you'll likely want to use a game framework such as Cocos2d or Sparrow, in combination with a physics engine such as Box2D or Chipmunk.
I'm not at my development computer at the moment, but I'll post some helpful links when I get there in a few hours.

I agree with Jordaan that a game library might help. My choice of tool will be cocos2D.
You can follow the discussion "Best method for paper toss game" on Cocos2D forum

Related

Is there an iOS SDK for creating crossword puzzle games?

We are looking to create a crossword puzzle game and I'd like to see how we can help our client reduce development time by using an iOS SDK. We are looking for the game interaction (loading words, dragging letters to board, word validation, etc)
Look into Cocoas2D or there is Unity3D to assist you in creating games for iOS.
I believe you are looking for a 'Library' if what I understand is that you want an automated way of creating crossword puzzles. Unfortunately I do not believe there is any that would fit your needs.
If you are like me, create your own paper crossword puzzles and then make them on iOS.
A great book to get on how to make games for iOS would be 'Learning iOS Game Programming" by Michael Daley.
I bet with the resources on that book and good logical planning you will have your game made in no time.

iphone racing game in cocos3d

I am working on iPhone racing car game development using cocos3d.In this how can I get detection of boundaries of road in road-map.I have done with load pod file for road-map.I also want to know about how can I implement physics for car accident.Is their any sample code of game from which I get some information or tutorial which I can follow?
If I were you, I use Unity. Check out their Car Tutorial that's what you need.
Good luck
There are very few examples and tutorials available for Cocos3D at the moment. Definitely nothing that fits your bill.
Your project sounds like a lot of pioneering you need to do. Particularly physics will be an issue, because both Box2D and Chipmunk are 2D physics engines. You'll need to find an iOS compatible, open source 3D physics engine. I like ODE, and I've heard good things about Newton too. I don't know if they're compatible with iOS though.
To add collision shapes to your POD files would also be a manual process requiring (self-made) tools or a lot of sweat.

Two player game in iOS with GameCenter

Hello All,
I am working on a checkers game and I want to add the game center. It's a turn based game. I want to check the friend list of game center and I want to know who is busy, online, offline, play with my friend, etc.
How Can I make it?
I learned with the official documention of apple. But is there any blog tutorial or doc file that can be helpful for me.
Thanks.
There is a very good tutorial on the Ray Wenderlich blog: How To Make A Simple Multiplayer Game with Game Center Tutorial
It works with the Cocos2D framework instead of CocoaTouch but this is a very good tutorial to start with.

How to create an AI in Cocos2d?

I am making a game (obviously) and to make it a remotely good one i need to have an AI. The problem is, where do I begin? I haven't done anything like this, and any help is appreciated. Links, other posts, tutorials, anything will suffice. Also note that I would like to have more than one enemy on the screen at once, so each of them will need an AI. Like I said, any help is appreciated. Thanks!
first: AI don't need/use Cocos2D classes
you need to build AI specific classes that controls your game objects/sprites etc...
second: this link covers some basics of game AI
and this post explains how to make a finite state machine (FSM) in Objective C
a FSM is the most simple technique to build an AI in a game
Finite State Machine is the most common technique used for AI on mobile devices.
You also need to consider how much complex processing target device can handle without hampering user experience.
There's a good book for cocos2d: "Learning Cocos2D: A Hands-On Guide to Building iOS Games with Cocos2D, Box2D, and Chipmunk". You should check that out if it's your first game with cocos2d.

iPhone Game Development

Today I just need some tips for my first iPhone Game.
In this game you need to protect something from enemies. But I don't know how to create this enemies randomly, and how I can save the data to each enemy (there can be many on the screen at once!)..?
I hope someone can give good tips or good links to tutorials..?
Greetings,
mavrick3.
#mavrick i think this link might help you
http://www.71squared.com/iphone-tutorials/
Edit:
if you the source code of iPhone Game Development than follow this link
http://apress.com/book/downloadfile/4587
Maybe you could check : https://gamedev.stackexchange.com/ :-)
Good luck
Ray Wenderlich has some great tutorials on his blog about iPhone game development as well as many other iPhone related topics.
This link should get you started.
Also if you don't mind purchasing books, I highly recommend these two books.
Beginning iPhone Game Development
Learn iPhone and iPad cocos2d Game Development