b2ConcaveArc

Wed, 09/03/2008 - 23:57 — Boris

My first proper contribution to the wonderful Box2D engine, specifically the Flash port. I've added a third shape type to the engine, which dramatically increases the possible shapes you can describe. Hopefully my contribution will also show other people how to add shapes, and some of the deeper aspects of the engine.

It's easier to describe than see, so try out a demo: Demo

Read more


Box2D Raycasts

Thu, 09/04/2008 - 22:50 — Boris

Box2D has always had a function called TestSegment for colliding segments with shapes, but it really needed conversion into proper raycasts. Check out a Demo.

I've implemented this in Flash and C++. It's the real deal: it uses Box2D's internal sweep and prune structure for efficient calculations. You should see the best performance gains on the previous naive solutions when doing very long diagonal casts, or when doing a long cast that hits something immediately.

Read more


1300 Strips of Qwantz

Mon, 09/08/2008 - 00:00 — Boris

The entire Qwantz (dinosaur comics) archive expressed in one comic, after the jump.

Read more


b2BuoyancyController

Mon, 09/15/2008 - 00:00 — Boris

Following the poll, buoyancy seemed to be the popular choice for Box2D feature. I decided against the fancy and probably unreliable technique I was going to use, and have produced a "controller" based on good old, geometry, cribbing a fair amount of Erin Catto's notes on the subject. Demo

Read more


Controller Grab Pack

Mon, 10/06/2008 - 00:45 — Boris

After the success of b2BuoyancyController, I'm releasing a pack of useful controllers to do other common tasks. I hope you appreciate this, these were boring to write. Demo

Read more


ASDoc Enhancements

Wed, 01/28/2009 - 17:18 — Boris

I've not posted for a while, but that doesn't mean I've not been doing anything. Generally less visible stuff (yes, some porting), but I have converted Box2DFlashAS3 to use ASDoc to generate beautiful documentation.
The results are available here. For lack of a better place, this will be their permanent home, and I'll try to keep them updated to the latest revision.

I've put in a few customizations to the standard ASDoc template, that I'm going to share here, as they are generally useful. You will need to customize the files a bit for your own project, though.

Read more


Box2DWith

Mon, 02/09/2009 - 19:38 — Boris

Announcing my newest finished project, Box2DWith. I'm collecting together various utility classes for doing all the stuff with Box2DFlashAS3, but found annoying. Demo, Docs

Read more


Sprite Choppa

Sun, 03/01/2009 - 21:35 — Boris

I saw a poster on TIGSource talk about manually cutting up sprite sheets, so I've dusted off a project from 2007 to solve it. Just load up a sprite sheet, select the background color, and export the results into a directory. It's got a few extra features useful for what I originally wanted it for, too.

Read more