All posts about Box2D

Pumpkin Story prototype

This quick Pumpkin Story prototype is made merging and mixing these scripts: Drawing arcs with AS3 and Creation of a Flash artillery game using Box2D. If you notice, it’s similar to an artillery game (like Bloons) with the “only” difference you are the bullet. This opens some interesting gameplay options, so interesting I am going […]

Word Play contest prototype, four days to make something decent out of it

The final deadline for “Word Play” Flash Game Contest ran by MochiMedia is September 18 and if you did not submit any entry, here it is a prototype you can use to make something better out of it. The concept is based upon How to use an embedded text file in Flash and some concepts […]

Creation of a Flash artillery game using Box2D – part 2: removing bullets

This is the second part of Creation of a Flash artillery game using Box2D… one reader asked for a function to make blocks (bullets) disappear after 10 seconds or any given time. I found the question interesting, and here I am writing something about removing bullets. To introduce timed bullets, I only need another class […]

Creation of a Flash artillery game using Box2D

Small intro: having a plugin that allows readers to vote posts can help you understanding what do readers like. I saw readers liked a lot Create a flash artillery game – step 1 so I decided to create something similar with modern techniques (that post is dated 2007!!! Ages ago!!). Let’s start from Platform engine […]

Simplify your Box2D projects with QuickBox2D

You know with Box2D you can make interesting games like Mazeroll, SamePhysics or Filler, but even if I published a Box2D tutorial for absolute beginners, everyday I am receiving emails complaining about the excessive complexity of this library. If you are looking for a library able to simplify your Box2D projects, Zevan Rosser from ActionSnippet […]

Box2D platform engine alternative

Everybody should know Box2D is the best engine you can use to make a platform game. Rick Triqui, my latest game, was made with PlayCrafter that uses Box2D, and I’m starting to code my own Box2D platform engine. Luis Fernando Silva, author of the upcoming Darkness game (Sponsors! Contact him to see the work in […]

Basic Filler engine with Box2D – part 3

Here we are with the 3rd part… this time we’ll manage collision detection. I recommend to read step 1 and 2 before continuing. You should how to manage collisions with Box2D, and if not go and read Understanding how Box2D manages collisions, but this time we won’t use the collision handler. Since all collisions we […]

Platform engine using Box2D – Step 3

In this third part of the platform engine, it’s time to make our hero jump. First, I suggest you to read parts 1 and 2 if you already didn’t, then you should know something about the magic of compound objects and how Box2D manages collisions. Then, you’re ready to follow the tutorial :) The hero […]

Basic Filler engine with Box2D – part 2

Some time ago I published Basic Filler engine with Box2D – part 1, now it’s time to see the next step. I am going to add enemies, the evil bouncing balls. Obviously, enemies aren’t affected by gravity, and this can be made following the instructions published at Managing multiple gravities with Box2D. The next, big, […]

Managing multiple gravities with Box2D

One of the apparently hardest things to do with Box2D is assigning different gravity forces to different objects. For instance, you may want the world to be ruled with regular gravity, while you don’t want the bullet fired by your character to be affected, or you may want regular gravity for all boxes and inverted […]