In this chapter, we will use Box2D to create yet another physics game. This time, we will make use of an amazing physics editor that goes by the name Really Useful Box2D Editor, more commonly referred to as RUBE. After you've read through this chapter, you will see why the creator of RUBE named it that way!
In this chapter, you'll learn:
PostSolve
functionI'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:
b2dJson
Fish
class and its various subclassesCat
class and finishing up the game18.116.50.87