Chapter 5. Practical Physics
For our second creation, we're going to make a casual puzzle game similar to PopCap's Peggle and Japanese casino game Pachinko. In this game, we will fire a ball from a launcher towards the mouse and it will bounce off pegs, which then disappear, as it falls off the screen. We will also have certain pegs that must be hit to clear the level and special portals to teleport the ball to another position. We'll do this using Box2D, the physics engine implemented in Construct Classic.
In this chapter, we shall:
- Learn how to use the Physics behavior to make objects that move realistically
- Learn about event sheets, groups, and how they make game development easier
- Learn how to add forces to the ball as it hits a peg or is launched
- Add specialty pegs to our game
- Create portals to tunnel the ball to another position
- Use particles to create fireworks when a level is finished
- Add sound effects and music into our game
- Create and transition to new layouts...