Search found 1 match
Search found 1 match • Page 1 of 1
- Sat Jan 26, 2013 5:56 pm
- Forum: Libraries and Tools
- Topic: Advanced Tiled Loader - No longer maintained
- Replies: 260
- Views: 103232
This is some code I wrote to convert all the rectangles, polygons, polylines and ellipses in an object layer into static shapes and import them into a love.physics world. function importObjectLayer(world, layer) for i = 1, #layer.objects do local obj = layer.objects[i] local shp = nil if obj.polylin...