Jump to content

View more

Image of the Day

Full Syncs #screenshotsaturday favourites https://t.co/i1Flnwcg3l #xbox #ps4 https://t.co/m0v2F1SxGs
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net's newsletters to receive the latest updates and exclusive content.


Sign up now

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

2: Adsense

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   

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

#2 DpakoH   Members   

1203
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   

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.