Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


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

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