atomicptr / openfl-tiled

openfl-tiled is a library which gives OpenFL developers the ability to use the TILED map editor.
Other
45 stars 21 forks source link

Convert a layer into something usable for collision detection #23

Closed atomicptr closed 11 years ago

atomicptr commented 11 years ago

It would be very nice (as example for a plattformer) to turn the structure of a layer to a mass of rectangles or a polygon for collision detection.

atomicptr commented 11 years ago

Hm... well you can use layer.toCSV() to create something you can use for collision detection :>