Search found 1 match

by xenodora
Sat Jan 26, 2013 5:56 pm
Forum: Libraries and Tools
Topic: Advanced Tiled Loader - No longer maintained
Replies: 260
Views: 107004

Re: Advanced Tiled Loader - Updated to 0.12.1!

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...