Get Updates By E-mail 

Article Written By:
Johann Dowa

Tutorial: Understand Cocos2D And Box2D Physics – Create A Very Slick Bouncing Ball

  •  
  •  
  •  
  •  
  •  

In the past I’ve mentioned a couple of tutorials explaining the basics of using Box2D and Cocos2D to create a platform game, and another on creating an Angry Birds style game.

Those tutorials do a great job of covering Box2D with a broad brush, and covering the basics of using Box2D in your Cocos2D games.

Today I came across a more focused tutorial that specifically covers the topic of soft body physics showing how to create a bouncing ball in Cocos2D with soft body physics giving it a very realistic look.

Here’s a video of the final result of the tutorials in action:

Every step along the way is explained in-depth so you can get a full understanding covering distance joints, triangle fan mapping, and texture mapping.

The tutorial is by @uchidacoonga and you can find it on his website here.

A great in-depth tutorial on getting started with soft body physics with Cocos2D and Box2D.

Added to the Cocos2D tutorial page.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments