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 Cocos2d-X Game Development Blueprints
  • Table Of Contents Toc
Cocos2d-X Game Development Blueprints

Cocos2d-X Game Development Blueprints

By : Sequeira
4.2 (5)
close
close
Cocos2d-X Game Development Blueprints

Cocos2d-X Game Development Blueprints

4.2 (5)
By: Sequeira

Overview of this book

If you are a proficient Cocos2d game developer who wants to enhance his or her game development skill set using Cocos2d-x to build different types of games, this book is for you.
Table of Contents (12 chapters)
close
close
11
Index

An introduction to Angry Fish


I'm sure, just by reading that title, you know what to expect from this chapter and game. The player will have to use a catapult to hurl a series of extremely offended (haven't yet worked out why they're offended) fish towards an intricately constructed scaffolding, thereby bringing it down and destroying the cats that are housed within.

We shall go about this chapter in the following way:

  • Creating a scene with some bodies and fixtures with RUBE

  • Running the scene within RUBE

  • Creating the game's bodies with RUBE

  • Adding custom properties to a scene with RUBE

  • Exporting the scene and generating a level in Cocos2d-x using b2dJson

  • Defining the Fish class and its various subclasses

  • Defining the Cat class and finishing up the game

This is what we will achieve by the end of this chapter:

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.
Cocos2d-X Game Development Blueprints
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