How to make objects flying around in a view - iphone

How is it possible to let some objects fly around and bumb at the end of the view and collide on each other.
The second step would add acceleration of the objects by shaking.
I haven't found a tutorial yet or some step to begin at.
thanks a lot for your help :)
Heres a picter of what i image(only a still)
http://picfront.org/d/ZdSvK9G8D/flying_circles.jpg

Take a look at Cocos2d for iPhone. Google will help you find many tutorials for this framework.

What you need to search for are tutorials on "Collision Detection." Cocos2D is a great place but you will also need a physics engine - Box2d and Chipmunk are both physics libraries that can be used. Some good videos on youtube for cocos2d tutorials and physics engines to see if this is what you are looking for.
Matthew

Related

Parabolic sprite movement of swipe with speed

I want to move a sprite with swipe gesture, like it start from one place and with angle it end with trajectory, I really don't know where to start this thats why i am not posting any code here. Any direction or piece of code will be appreciated. Note: Should I use cocos2d for this or any physics engine like box2d or chipmunk would be needed?
Regards
I would recommend you start here: http://www.raywenderlich.com/tutorials. There are tons of great a well explained tutorials to help you get started with cocos2d. I might recommend looking into using a physics engine like Box2D. An introduction tutorial is here: http://www.raywenderlich.com/457/intro-to-box2d-with-cocos2d-tutorial-bouncing-balls.

Simple Cocos2d Iphone Game. Just some basic questions

I'm making an app, where the sprite has to run across the screen pressing buttons and jumping and ducking. Kind of like line runner. Anyways, I'm using cocos2d. Is this what i should be using. If it is, how would i make it. Im not asking for all the code, just the basic objectives and what i should do! thanks so much!
Cocos2d is one of the best platform to make game i think what you want to do can be done by cocos2d and you need to know how to move object(sprite) across the scene and how to detect the collation.
there is lots of way to move the sprite across the screen you can also move then by the cocos2d built in methods.
search for move method which will help you.
I would definitely advise you to use Cocos2d for this purpose and also Box2d if you need real physics simulation in your game.
Regarding of writing your game have a look here : It contains very useful cocos2d tutorials and even have a tutorial of how to write a full functioning game (Look for the monkey game)
Note : It seems that the link does not work right now but I am sure it will be fixed soon..

How to move water in iphone cocos2d?

I am trying to create an application very similar to iBeer I want to fill iphone from virtual water and can shake it so it produce bubbles? I tried to search any similar example of code as I am very new to cocos2d but I can't. I wanna know how can I do this? Any helpful links? Do I have to use chipmunk or anything else?
Thanks
Mani
Cocos 2D mainly serves to display sprites particules and otehr visual effects
The actual physics of it are handled by Chipmunk.
chipmunk is not so much a fluid engine but given enough small objects you can aproximate something like iBeer.
I remember seeing a video demo of chipmunk that did it.
I'm never did something close to that with chipmunk but try asking on the offcial forum
http://www.slembcke.net/forums/viewforum.php?f=1
they helped me out a lot and the author of chipmunk (scott) is very reactive and helpful.
thats the use of accelerometer and you affine transform your views
This explanation of animated water may be helpful.

what element i need to use to build game like this

i am building a game which is similar to the Plain Jane Flash Game for the iPad. I have decided to use cocos2d for the same, while exploring the cocos2d there are lots of option i am having. i am confuse in which elements/controls would be best for this type of game Please guide me or share any link/tutorial on cocos2d which have similar user interface.
I mean shall i use CCMenu/CCmenuItem or there is another control which is more suitable...
shall i use Sprite or simple image would be sufficent as i do not need to move anything in it.
Thanks
Although your question was not very clear, I assume your referring to the functionality of dragging and dropping different clothing items onto the game avatars. A custom CCSprite object would be much more appropriate for doing that.
However, there is not an easy answer for what you are asking. Creating a game like "Plane Jane" will involve many problems that I'm sure have not crossed your mind. I recommend you complete a few Cocos2d-iPhone tutorials before you go any further. Once you do that, you will have a much better understanding of the functionality you will need to create your game.
Here is a nice tutorial for starters:
http://www.cocos2d-iphone.org/archives/582

cocos2d and box2d .. creating map and worlds

So my question is really about creating different levels in my game. I am using cocos2d and box2d and right now I have a lot of code that actually constructs my world and I can't do pane or stuff like that coz honestly i don't know how..
So any tips and pointers for beginner to create world with static object and then I can add my own sprite to that world and move around with box2d?
Start running through the tutorials for Cocos2D. All of them. Modify them to see changes your interested in. I can think of a number of ways you might be able to construct your levels but it wouldn't necessarily make sense if you are not familiar with the Cocos2D classes and terminology. Try posting your question on the Cocos2D forums as well. Possibly someone in the Cocos2D community has already done this.