When Angry Birds meets Crush the Castle
What if birds had a siege machine? Let's explore this gameplay, but first let me explain which kind of siege machine I want to build using only distance and revolute joints.
The siege machine consists of two carts mounted on wheels. The first cart can be controlled by the player and acts as a truck tractor. The second cart is just a trailer but has something between a trebuchet and a morning star mounted on it.
A bit confused? Let me show you the prototype:
There is a lot to do, so let's start running. What do we need to include in our package?
- First, the same old classes,
Joints
included:import flash.display.Sprite; ...
Get Box2D for Flash Games now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.