21
2011
Get started with Box2d in Javascript
Box2d is a 2d physics simulation library written for C++ and ported to many languages including Javascript. From Box2d’s Website Box2D is a feature rich 2D rigid body physics engine, written in C++ by Erin Catto. It has been used in many games, including Crayon Physics Deluxe, winner of the 2008 Independant Game Festival Grand Prize. In this tutorial I am going to show you how to use the Box2d library to write a simple [...]
19
2011
Make a racing car using Box2d in javascript
Box2d is a physics 2d simulation library. Here we use the Box2d Javascript port from http://code.google.com/p/box2dweb/ The car shown here has 5 parts : 1. Body 2. 2 Front wheels connected to body using revolute joints. 3. 2 Rear wheels connected to body using prismatic joints with limits Watch Demo here : Demo Click first , and then use arrow keys to move the car Please upgrade your browser To move the car , force [...]
Subscribe
Recent Posts
- Login into phpmyadmin without username and password
- 10+ tips to localise your php application
- 40+ Techniques to enhance your php code – Part 3
- 40+ Techniques to enhance your php code – Part 2
- 40+ Techniques to enhance your php code – Part 1
- CSSDeck – Collection of Pure CSS Creations
- Execute shell commands in PHP
- Php get list of locales installed on system
- Sound cracking in Ubuntu 11.10
- PHP script to perform IP whois
An article by