Make a simple HTML5 game using Box2d in JavaScript
binarytides.com
Make a simple HTML5 game using Box2d in JavaScript
1–10 of 11 posts
Re: Make a simple HTML5 game using Box2d in JavaScript
#2Re: Make a simple HTML5 game using Box2d in JavaScript
#3Re: Make a simple HTML5 game using Box2d in JavaScript
#4its for learning box2d, from the basics.
if you have an interest in building sims for education, explore APPynotebook:)
Re: Make a simple HTML5 game using Box2d in JavaScript
#5This example is using box2d for something that can be implemented with very simple code dropping this important dependency IMHO. Box2d is a great fit when real 2D physics simulation is needed, but for apples falling at constant speed and jumps, it's not worth it.
Also the jump feels off.
Re: Make a simple HTML5 game using Box2d in JavaScript
#6Re: Make a simple HTML5 game using Box2d in JavaScript
#7This example is using box2d for something that can be implemented with very simple code dropping this important dependency IMHO. Box2d is a great fit when real 2D physics simulation is needed, but for apples falling at constant speed and jumps, it's not worth it.
[1] http://danielribeiro.github.com/ClojureCoffeeScriptGame/
[2] http://danielribeiro.github.com/ClojureCoffeeScriptGame/cloj...
[3] http://metaphysicaldeveloper.wordpress.com/2011/08/28/clojur...
Re: Make a simple HTML5 game using Box2d in JavaScript
#8Every port is either a bunch of Regular expressions run against the ActionScript source, or a wacky hand port of a version several years out of date. In either case, as soon as you plug it into anything more complicated than the Hello World demos it starts demonstrating in myriad wacky ways that nobody must have ever tried using it on a real project. I keep checking back, doing the rounds of GitHub and the web in general every couple months hoping in vain that somebody will have put something good out, but thus far no luck.
And of course, I'm part of the problem, complaining about the situation but not actually downloading the ActionScript source myself and putting together a decent port.
Re: Make a simple HTML5 game using Box2d in JavaScript
#9I've been watching for a good Box2d javascript port for the last couple years, and so far there's nothing out there that's anywhere close to useable. It's a shame really, since the Flash version is so good. Every port is either a bunch of Regular expressions run against the ActionScript source, or a wacky hand port of a version several years out of date. In either case, as soon as you plug it into anything more compl…
In general I agree with your assessment though.
Re: Make a simple HTML5 game using Box2d in JavaScript
#10This example is using box2d for something that can be implemented with very simple code dropping this important dependency IMHO. Box2d is a great fit when real 2D physics simulation is needed, but for apples falling at constant speed and jumps, it's not worth it.
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.