• Advertisement
Sign in to follow this  

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

This topic is 1857 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Advertisement
[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 :)

Share this post


Link to post
Share on other sites
[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
Sign in to follow this  

  • Advertisement