Open Beeblerox opened 10 years ago
plus, we could port "ninja" physics system from Phaser, which have better support for sloped tiles
I'm not sure sloped tiles are a big issue. Support for shapes other than rectangles would be much more important (polygons ideally).
I suppose this decoupling could be the first step towards having more than one possibility of collision system in the framework. Ideally we could have both an AABB traditional implementation (maybe something like in Phaser) and a polygonal implementation (using Nape). Tilemaps would benefit a lot from a polygonal collision system
This would be a great structural change. There is also hxcollision on haxelib.
Maybe like in Phaser, where you can have different collision systems (classin flixel collision system, "ninja" physics and advanced physics using some third-part engine)