Google Ports Box2D to Dart

By Kshitij Sobti | Published on 12 Jan 2012
Google Ports Box2D to Dart

Want to modernise your banking loan application?

Build an application that analyses credit risk with #IBMCloud Pak for Data on #RedHat #OpenShift

Click here to know more


Dart, Google's JavaScript replacement might not be released or even complete yet, but Google is already busy porting popular libraries and toolkits to it.

Box2D is a popular 2D physics engine library which is open source and disributed under the permissive zlib license. The library does the major bit of work in adding physics to any 2D game or software thats needs to emulate physics in 2D.

While the original Box2D library was in C it has been ported to a number of other languages including ActionScript (used in Flash) and JavaScript. It is used in a larger number of games including online Flash games and games running on mobile devices. Popular examples of its use in games would be Angry Birds and Crayon Physics Deluxe.

Very few software is developed from scratch, and it migh tbe pointless to do so when so many libraries for performing common tasks are available. Dart will need a lot of libraries ported to it to become a feasible development language, and this is one of the steps towards game development using dart. Hopefully more libraries are to follow.

You can visit the DartBox2D project page for more info and check out some of the demos and benchmarks.


Kshitij Sobti

Digit caters to the largest community of tech buyers, users and enthusiasts in India. The all new Digit in continues the legacy of as one of the largest portals in India committed to technology users and buyers. Digit is also one of the most trusted names when it comes to technology reviews and buying advice and is home to the Digit Test Lab, India's most proficient center for testing and reviewing technology products.

We are about leadership-the 9.9 kind! Building a leading media company out of India.And,grooming new leaders for this promising industry. Protection Status