开发者

How to make objects flying around in a view

开发者 https://www.devze.com 2022-12-11 17:22 出处:网络
How is it possi开发者_StackOverflow社区ble to let some objects fly around and bumb at the end of the view and collide on each other.

How is it possi开发者_StackOverflow社区ble 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

0

精彩评论

暂无评论...
验证码 换一张
取 消