
{"id":725,"date":"2009-01-07T12:01:59","date_gmt":"2009-01-07T11:01:59","guid":{"rendered":"http:\/\/www.matthijskamstra.nl\/blog\/?p=725"},"modified":"2009-05-01T10:29:12","modified_gmt":"2009-05-01T09:29:12","slug":"as3-flash-physics-engine-box2d","status":"publish","type":"post","link":"https:\/\/www.matthijskamstra.nl\/blog\/2009\/01\/07\/as3-flash-physics-engine-box2d\/","title":{"rendered":"AS3 Flash Physics Engine Box2D"},"content":{"rendered":"<p>I was looking for a physics engine for Flash so I started looking for one&#8230; there are a lot of engines&#8230;<br \/>\nI won&#8217;t mention them all, there are enough people who did that already (<a href=\"http:\/\/blog.nothing.ch\/en\/2008\/04\/flash-physik-engines-und-ihre-performance\/\">here<\/a>, <a href=\"http:\/\/radassembly.com\/blog\/?p=29\">here<\/a>, <a href=\"http:\/\/ntt.cc\/2008\/03\/20\/the-list-of-as3-physics-engine-open-source-non-open-source.html\">here<\/a> and <a href=\"http:\/\/henryjones.us\/articles\/actionscript-3-physics-engines\">here<\/a>)<\/p>\n<p>If the list is that big, how to choose?<br \/>\nWell I also want to use it with <a href=\"http:\/\/blog.papervision3d.org\/\">papervision3d<\/a> so I googled on that and if someone checked out a <a href=\"http:\/\/www.google.nl\/search?q=box2d+wow+ape\">couple of engines<\/a> (<a href=\"http:\/\/groups.adobe.com\/posts\/bdadad848c\">this guy checked out 3<\/a>).<br \/>\nAnd in one of my rss feeds there is a <a href=\"http:\/\/www.emanueleferonato.com\/category\/box2d\/\">guy who builds games<\/a>, and now it writing tutorials for <a class=\"zem_slink\" href=\"http:\/\/www.box2d.org\/\" title=\"Box2D\" rel=\"homepage\">box2d<\/a> \ud83d\ude09<\/p>\n<p>So I decided on <a href=\"http:\/\/box2d.org\/\">box2d<\/a>. <\/p>\n<blockquote><p>Box2D is an open source physics engine written primarily for games. As the name suggests, Box2D is a purely 2D engine. However, Box2D has grown beyond it&#8217;s humble box simulating roots, and can now handle convex polygons and other shapes coming soon.<\/p><\/blockquote>\n<p>Box2D is written in C++, but there is a port to as3: <a href=\"http:\/\/box2dflash.sourceforge.net\/\">AS3 Flash Physics Engine Box2DFlashAS3 2.0.1<\/a>.<\/p>\n<div class=\"flash\">[swf]http:\/\/box2dflash.sourceforge.net\/PhysTest201.swf, 520, 292[\/swf]<\/div>\n<blockquote><p>Box2DFlashAS3 is an open source port of <a href=\"http:\/\/www.gphysics.com\/\">Erin Catto<\/a>&#8216;s powerful c++ physics library Box2D.<\/p><\/blockquote>\n<p>There is not a lot of information about Box2DFlashAS3 and tutorials are even harder to find.<br \/>\nSo here some useful links:<\/p>\n<ul>\n<li><a href=\"http:\/\/box2d.org\/manual.html\">The original box2D v2.0.2 C++ User Manual<\/a><\/li>\n<li><a href=\"http:\/\/www.box2d.org\/wiki\/index.php?title=Manual\/AS3\">The box2D Flash User Manual<\/a><\/li>\n<li><a href=\"http:\/\/www.box2d.org\/wiki\/index.php?title=AS3_FAQ\">box2D AS3 FAQ (not very useful but &#8230;)<\/a><\/li>\n<li><a href=\"http:\/\/www.box2d.org\/wiki\/index.php?title=Box2DFlashAS3\">box2D Flash AS3<\/a><\/li>\n<li><a href=\"http:\/\/www.emanueleferonato.com\/category\/box2d\/\">Tutorials and source by Emanuele Feronato<\/a><\/li>\n<li><a href=\"http:\/\/www.triquitips.com\/viewtopic.php?f=26&amp;t=575\">Box2DAs3 For Beginners! part 1: a tutorial on triquitips<\/a><\/li>\n<li><a href=\"http:\/\/www.triquitips.com\/viewtopic.php?f=26&amp;t=582\">Box2DAs3 For Beginners! part 2: a tutorial on triquitips<\/a><\/li>\n<li><a href=\"http:\/\/shah-soft.com\/%7Ewarhell\/box2d\/Box2DFlash%20HelloWorld.html\">Video tutorial for beginners<\/a><\/li>\n<li><a href=\"http:\/\/www.clickpopmedia.com\/2008\/03\/17\/physics-in-actionscript-3\/\">physics in actionscript 3: Hello World<\/a><\/li>\n<li><a href=\"http:\/\/www.actionscript.org\/resources\/articles\/742\/1\/Physics-in-ActionScript-30\/Page1.html\">Working through Hello World (previous link)<\/a><\/li>\n<li><a href=\"http:\/\/www.box2d.org\/wiki\/index.php?title=List_of_tutorials\">List of tutorials<\/a> &gt;&gt; AS3 (thx Boy Wonder!!)<\/li>\n<\/ul>\n<div class=\"update\">Emanuele Feronato (an Italian PROgrammer) has written an extremely useful tutorial: <a href=\"http:\/\/www.emanueleferonato.com\/2009\/01\/27\/box2d-tutorial-for-the-absolute-beginners\/\">box2d tutorial for the absolute beginners\/<\/a>. This one is a very good starting point!<\/div>\n<p>I will write about the problems that I encounter with Box2D, I hope that will help you in your quest to understand box3DFlash.<\/p>\n<div class='highlight'><strong>List of my post about Box2DFlashAS3<\/strong><\/p>\n<ul>\n<li><a href=\"http:\/\/www.matthijskamstra.nl\/blog\/index.php\/2009\/01\/09\/box2dflashas3-documentation\/\">box2dflashas3-documentation<\/a><\/li>\n<li><a href=\"http:\/\/www.matthijskamstra.nl\/blog\/index.php\/2009\/01\/11\/box2dflashas3-refactored-2\/\">box2dflashas3-refactored-2<\/a><\/li>\n<li><a href=\"http:\/\/www.matthijskamstra.nl\/blog\/index.php\/2009\/01\/11\/hello-box2d-part-1\/\">hello-box2d-part-1<\/a><\/li>\n<li><a href=\"http:\/\/www.matthijskamstra.nl\/blog\/index.php\/2009\/01\/12\/hello-box2d-part-2\/\">hello-box2d-part-2<\/a><\/li>\n<li><a href=\"http:\/\/www.matthijskamstra.nl\/blog\/index.php\/2009\/01\/13\/hello-box2d-part-3\/\">hello-box2d-part-3<\/a><\/li>\n<li><a href=\"http:\/\/www.matthijskamstra.nl\/blog\/index.php\/2009\/01\/15\/hello-box2d-part-4\/\">hello-box2d-part-4<\/a><\/li>\n<\/ul>\n<\/div>\n<p><em><br \/>\nBecause I&#8217;m quite lazy, I didn&#8217;t mention all the as3 physics engines but you can: just make a comment about any engine and perhaps why you are working with that engine&#8230;<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was looking for a physics engine for Flash so I started looking for one&#8230; there are a lot of engines&#8230; I won&#8217;t mention them all, there are enough people who did that already (here, here, here and here) If the list is that big, how to choose? Well I also want to use it [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,3],"tags":[227,68,247,408,230,231,398,42,224,225,226,245,410],"class_list":["post-725","post","type-post","status-publish","format-standard","hentry","category-as3","category-flash","tag-2d-engine","tag-actionscript","tag-actionscript-3","tag-as3","tag-box2d","tag-box2dflash","tag-flash","tag-open-source","tag-physics","tag-physics-engine","tag-physics-library","tag-tutorial","tag-tutorials"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/posts\/725","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/comments?post=725"}],"version-history":[{"count":22,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/posts\/725\/revisions"}],"predecessor-version":[{"id":988,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/posts\/725\/revisions\/988"}],"wp:attachment":[{"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/media?parent=725"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/categories?post=725"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/tags?post=725"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}