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 subclassesDefining the
Cat
class and finishing up the game
This is what we will achieve by the end of this chapter: