Torque2D to use Box2D as its primary physics layer!

Hi,

I'm Melv May, a developer in the UK and I'm the developer of Torque2D (http://www.garagegames.com/products/torque-2d) which is a game development studio published by GarageGames. I just wanted to pop-by and mention that I've been working hard during the last year on the new Torque2D product. We've recently announced that it will be using the excellent Box2D as its primary physics layer!

I think the system I've created is a new take on how to use physics in a 2D game engine and I'm looking forward to people giving me their opinions when it's released.

Anyway, here's the blog with a neat little video demonstrating a small part of the progress so far: http://www.garagegames.com/community/blogs/view/18641

I'm sure Erin has heard it hundreds of times before but I wanted to put my thanks out to Erin for creating such as flexible and ultimately very powerful 2D physics system.

Melv.

EDIT: Forgot to mention that I'm using the latest Box2D trunk and watch, eagle-eyed, the source revisions everyday! Come on Erin, give me something to upgrade. 😉
great news. i got myself a t2d license quit a while ago, before linux support was dropped. thats why i have not used it for projects... you can not ignore linux today... please! bring linux support back in!
Excellent move. Many many people will be greatful for a way to use Box2D without having to add all the extra layers required. It's really designed as a library to be wrapped, imho.

Looks awesome.

Are you using Box2D even for non-physics games, for collision detection? Are you giving access to the Box2D callbacks or internals?
Yes, I'm using Box2D quite deeply and rely on its broad-phase for many types of spatial queries although I won't bore you with details there. Right now I'm exposing 100% of Box2D features including all the utilities as well such as collision-detection ray-casts, point-tests, space-conversions etc. I've structured Box2D behind a lightweight hierarchical model (which uses a caching factory to keep performance high). What this means is that it becomes pretty intuitive that a body is a parent of a collision-shape and other types of children. All joints are currently supported as well. This model has the added benefit that I can masquerade other non-Box2D constructs inside the model to provide a uniform set-up for the end-user e.g. positional sound-fx etc.

In terms of callbacks, yes, I'm providing all the callbacks you'd expect but I am doing that on a registration basis to stop the end-user from being swamped by callbacks. I'm also adding in behavioral assignments to gain access to stuff like one-way collisions etc. I've also modified the collision-filter so that it's a little more intuitive.

Anyone who's a Box2D veteran will feel at home because many of the constructs are simply rebadged Box2D constructs behind a nice comfy facade.

I'm really enjoying developing with Box2D and eagerly await updates from Erin! Hint hint!

Melv.
I'll be getting back to Box2D soon. I've been quite busy with other things.

Mainly I just need to revise the manual.
No problem Erin. Enjoying the refactored Box2D so far.
what language does Torque2D use? C++?
Torque2D is written in C++ and with the new version you can easily code your game up in C++ alone however Torque has its own proprietary scripting language called "Torque Script" (which is based upon C) as well that you can use if you're not interested in C++. Some love it, some hate it, I'm kinda in the middle.
In-case you're interested, I've just posted up another blog about how Box2D is used inside the new Torque 2D here: http://www.garagegames.com/community/blogs/view/18735

Original thread: https://box2d.org/forum/viewtopic.php?t=3882