Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


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


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 silv3r.m00n   Members   -  Reputation: 103

Like
0Likes
Like

Posted 18 December 2012 - 05:04 AM

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

Read it here.

Regards
Silver

Sponsor:

#2 DpakoH   Members   -  Reputation: 1008

Like
0Likes
Like

Posted 18 December 2012 - 09:32 AM

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

#3 silv3r.m00n   Members   -  Reputation: 103

Like
0Likes
Like

Posted 18 December 2012 - 10:11 AM

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




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS