yuckrocks Posted June 10, 2014 Share Posted June 10, 2014 Hey Guys,i was looking for a tutorial or documentation how to generate or create a shape specific Json file like in this example:http://codepen.io/codevinsky/pen/JAoHa/How this file was created: https://dl.dropboxusercontent.com/u/134359065/media/images/polygon/physics.json ? I really don't have a clue but i like it and it makes a more preciseley collission detection possible.So maybe one of u can help me! Thanks! Link to comment Share on other sites More sharing options...
rich Posted June 10, 2014 Share Posted June 10, 2014 With this: https://www.codeandweb.com/physicseditor and the free export plugin you'll find in the phaser repo. Link to comment Share on other sites More sharing options...
yuckrocks Posted June 10, 2014 Author Share Posted June 10, 2014 Thats what i was looking for! Ty! Link to comment Share on other sites More sharing options...
kidos Posted July 20, 2014 Share Posted July 20, 2014 With this: https://www.codeandweb.com/physicseditor and the free export plugin you'll find in the phaser repo. sorry for bringing this post from the cold, but this is the idea of this forum I suppose. - Does this option exist only in the p2 physics system or also in the arcade?- Also, which plugin did you mean? I haven't found anything related in the plugins repo. Thanks! Link to comment Share on other sites More sharing options...
Dumtard Posted July 20, 2014 Share Posted July 20, 2014 - Does this option exist only in the p2 physics system or also in the arcade? No Arcade is AABB only. Link to comment Share on other sites More sharing options...
kawanua Posted October 28, 2015 Share Posted October 28, 2015 Sorry to bring up this old thread...im wondering if there is any free (web-based maybe?) tools to produce the physics data for Phaser ? Link to comment Share on other sites More sharing options...
Dunce Posted September 21, 2018 Share Posted September 21, 2018 If anybody still is interested in this topic, there is tool that generates physics data as a JSON file... It's called Easy Polygon Marker. It can be found here: http://dunceware.com/Products/EasyPolygonMarker.aspx see the quick start guide here: http://dunceware.com/Products/EasyPolygonMarker/QuickStart-EasyPolygonMarker.pdf Link to comment Share on other sites More sharing options...
Recommended Posts