News for hackers. Stuff that matters.
Re:Make a simple HTML5 game using Box2d in JavaScript by 1qaz2wsx3edc on Tuesday December 18, 2012 @01:13PM (#4938705)
This example also has bugs. 1. Rapidly pressing up executes multiple jumps. 2. You can climb up the side of a block/group or just get stuck on it.

Also the jump feels off.

Re:Make a simple HTML5 game using Box2d in JavaScript by silv3r_m00n on Tuesday December 18, 2012 @10:56PM (#4941061)
the climbing on the side of the block is actually default box2d behaviour with bodies having friction. to make it slide off the side needed a bit of complex construction which i avoided to keep the tutorial simple.