• Advertisement
Sign in to follow this  

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

This topic is 1861 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

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement