Sign in to follow this  
silv3r.m00n

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

Recommended Posts

silv3r.m00n    103
Written a tutorial on how to make a simple game in html5 using box2d and javascript.

Read it [url="http://www.binarytides.com/make-html5-game-box2d-javascript-tutorial/"]here[/url].

Regards
Silver

Share this post


Link to post
Share on other sites
silv3r.m00n    103
[quote name='DpakoH' timestamp='1355844736' post='5012085']
[b]good job![/b] 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 :)
[/quote]

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this