Your SlideShare is downloading. ×
Box2D JavaScript - Uncovering the Magic Behind SilarApp.com
Box2D JavaScript - Uncovering the Magic Behind SilarApp.com
Box2D JavaScript - Uncovering the Magic Behind SilarApp.com
Box2D JavaScript - Uncovering the Magic Behind SilarApp.com
Box2D JavaScript - Uncovering the Magic Behind SilarApp.com
Box2D JavaScript - Uncovering the Magic Behind SilarApp.com
Box2D JavaScript - Uncovering the Magic Behind SilarApp.com
Box2D JavaScript - Uncovering the Magic Behind SilarApp.com
Box2D JavaScript - Uncovering the Magic Behind SilarApp.com
Box2D JavaScript - Uncovering the Magic Behind SilarApp.com
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Box2D JavaScript - Uncovering the Magic Behind SilarApp.com

1,781

Published on

My presentation from http://www.meetup.com/sthlm-js/events/45236492/

My presentation from http://www.meetup.com/sthlm-js/events/45236492/

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,781
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
18
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Angry Bird
  • 2. Box2D A Open Source Physics Engine• www.box2d.org• Erin Catto, 2007, C++• zlib License (good open source stuff)• Angry Birds, Tiny Wings etc.
  • 3. Box2D-web JavaScript Awesomenesshttp://code.google.com/p/box2dweb/Note: There are one more port called Box2D-js, it is outdated, don’t use it.
  • 4. Good thing to know Otherwise stuff will be messy• No pixels. Only meters.• Convex, not conaves.• Moving objects 0.1-10 m. Static 0.1-50 m.• Only physics, no graphics.
  • 5. “Bodies are soft bags with hard fixtures inside.” Bodies Fixtures • Contains fixture(s) • Density • Position • Friction • Angle • Has a shape • Static or dynamic • Collision
  • 6. Demo!There will be a lot of code.
  • 7. Continue Learning! Experiments are like sugar to the hacker soul.• jonnystromberg.com/box2d-javascript-tutorial/• github.com/javve/box2d-web-demos• www.box2d.org/manual.html• creativejs.com/2011/09/box2d-javascript-tutorial-series-by-seth-ladd/• blog.j15r.com/2011/12/for-those-unfamiliar-with-it-box2d-is.html• silarapp.com
  • 8. The end.

×