All posts about Box2D

Real world catapult prototype using Box2D

This is an early attempt to simulate a real world catapult using Box2D. Raw and uncommented code, but a lot of useful information about compound objects, revolute joints and motors. This is what you’ll get: Click with the mouse to shoot the ball.

Creation of a game with Citrus Engine

As said, we’re going to create a little game with Citrus Engine. Since the engine it’s ready, we can start with level design. So let’s open the Citrus Engine Level Architect, included in the package, and let’s start playing with it. The key of this little tool is the right mouse key. Pressing it will […]

Play ColorBallz, my latest Flash game

While I am giving the finishing touches at LineBall (yes, I found a sponsor), I want you to play ColorBallz. It’s a simple game I made in a couple of days starting from Basic Filler engine with Box2D – part 1, 2 and 3. All in all it’s almost the same game, I just added […]

Citrus Engine released for free for learning

Do you know Citrus Engine? It’s a Box2D library designed to allow game developers making 2D side-scrolling platform games, including a graphical level builder that allows you to drag, drop, and customize all of the game objects and art in your game. These are the main features, as they appear on the official site:

Understanding Box2D’s one-way platforms, aka CLOUDS

One of the new features introduced with Box2D 2.1a is the improved contact listener class which comes in hand when we want to create one-way platforms, or “clouds”. This can be made thanks to a function called before the contact is processed… something like “hey, two bodies are about to collide, what should I do?”… […]

Box2D Flash game creation tutorial – part 2

After seeing the character creation in Box2D Flash game creation tutorial – part 1, it’s time to add some coins to collect. This process will involve some interesting Box2D features, like sensors and custom collision management. I would suggest to read the basics of sensors at Erase Box: the tutorial and custom collision management at […]

Box2D Flash game creation tutorial – part 1

My first Flash game tutorial ever was Flash game creation tutorial – part 1. It was the first of a series to create a game like jmtb‘s ball games. It was an old AS2 series, and some steps have been ported in AS3 with Create a Flash ball game using AS3. The “ball” game is […]

Understanding Box2D applicable forces

In Box2d, bodies aren’t only affected by gravity and collisions, but you can also apply forces to them. Knowing the right force to apply is very important when you want to control a body, as you may want to do in a Flash game Let’s see the forces you can apply: Applying a force public […]

Create incredible particle effects with Partigen 2

Do you remember Partigen? Andrew Fitzgerald from Desuade released the new version, of his amazing particle effects engine: Partigen 2. Featuring over 120 exclusive preset effects, Partigen 2 is the first and only extension for Flash that let’s you to create complex particle effects in just a click. The list of features is huge, so […]