Category: Box2D
-
Box2D joints: Revolute Joint – Building motors
After seeing how to create a revolute joint, it’s time to use them to create motors. Box2D already has everything we need to create such motors. The script…
-
Box2D joints: Revolute Joint
After introducing Distance Joints, it’s time to learn something about Revolute Joints. A Revolute Joint attaches two objects by “pinning” them together at an anchor point which they…
-
SamePhysics – My first Box2D game
You are all invited to play SamePhysics, my first Box2D game. It’s a small milestone because it’s my first Box2D game. The game is the remake of SameGame,…
-
Phyballs: when Arkanoid meets Box2D – Full source code
Box2D is getting more and more popular among developers, and I am proud to have the permission to publish the first source code for a complete Box2D game.…
-
Drawing circles on the fly in Box2D
Only a day after Drawing boxes on the fly in Box2D I got three submissions for drawing circles on the fly. I will list all of them, and…
-
Drawing boxes on the fly in Box2D
Box2D is getting more and more popular among Flash developers, but it still lacks of adeguate tutorials and documentation about making games with it. Andrew McGrath from Gamersgarden…
-
Box2D joints: Distance Joint
One of the most interesting Box2D features are joints. Joints are used to constraint two bodies together in various ways and allow you to create very complex objects…
-
Understanding how Box2D manages collisions
Box2D is a great library because you don’t have to care for collisions, the library manages all by itself. But sometimes, specially in games, you may need to…
-
Understanding custom polygons in Box2D
Last week I explained The magic of compound objects with Box2D, now it’s time to understanding custom polygons. First, let me tell you the difference between a compound…
-
The magic of compound objects with Box2D
You can call it complex shapes, compound shapes, complex objects, compound objects or even poisoned underpants, but you all want to create complex “things” with Box2D. Despite the…
-
Understanding Box2D debug draw
When you are about to create a complex script with Box2D – or even a simple one, but that’s complex for your skills – I suggest to enable…
-
Dragging objects with Box2D Flash
This is ideally the next part after Understanding pixels and meters with Box2D and how to select an object with mouse – part 2, but it’s so important…