Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Mastering Cocos2d Cross-Platform Game Development
  • Table Of Contents Toc
Mastering Cocos2d Cross-Platform Game Development

Mastering Cocos2d Cross-Platform Game Development

By : Alex Ogorek
4.5 (4)
close
close
Mastering Cocos2d Cross-Platform Game Development

Mastering Cocos2d Cross-Platform Game Development

4.5 (4)
By: Alex Ogorek

Overview of this book

If you are a developer who is experienced with Cocos2d and Objective-C, and want to take your game development skills to the next level, this book is going to help you achieve your goal.
Table of Contents (10 chapters)
close
close
9
Index

Chapter 3. Focusing on Physics

This chapter is for those of you who want to incorporate physics into your games. Whether you're building a mini golf game that uses realistic wall bounces or a platformer with endless gravity, this chapter is for you. It will have tutorials on the physics side of games, as well as show you how to use a physics engine without gravity.

In this chapter, we will cover the following topics:

  • How Chipmunk works
  • Setting up a project and creating basic objects
  • Setting gravity by tilting the device
  • Handling collisions in Chipmunk

Note

You must use Chipmunk for collision detection only (and not physics). Not all games need (or should even consider using) a physics engine. Sometimes, it's better to leave it out. However, if you feel your game will either be more polished or be produced faster, then by all means use it. That being said, the project in this book will not need a physics engine. So, instead of following the project here, we will create a small...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Mastering Cocos2d Cross-Platform Game Development
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon