O'Reilly logo

Cocos2D Game Development Essentials by Ben Trengrove

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

Congratulations! You have just built a physics sample project. Using these techniques, you can build an endless supply of physics-based games.

You learned how to enable physics on objects so they are affected by gravity. You also learned how to join objects together with one of three types of joints: Pivot joints, Distance joints, and Spring joints.

You learned how to use touch to interact with the physics world. You then learned how to turn joints into motors to enable more possibilities.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required