A tutorial on making a simple game in html5/javascript using box2d

Started by
1 comment, last by silv3r.m00n 11 years, 3 months ago
Written a tutorial on how to make a simple game in html5 using box2d and javascript.

Read it here.

Regards
Silver
Advertisement
good job! i am gonna report a bug though: the monkey can hang on the side of the block and jump its way back on top of it :)

good job! i am gonna report a bug though: the monkey can hang on the side of the block and jump its way back on top of it :)


yeah, you are right. This is the default behaviour of box2d objects with friction enabled. To make the monkey slide of the side of the block would require a bit of complex construction which I avoided in this tutorial, to keep it simple.

thanks
silver

This topic is closed to new replies.

Advertisement