hexus / phaser-arcade-slopes

:triangular_ruler: A Phaser CE plugin that brings sloped tile collision handling to the Arcade Physics engine
MIT License
126 stars 16 forks source link

Automatically set colliding tiles for Tilemaps #45

Open hexus opened 7 years ago

hexus commented 7 years ago

Having to work out the numbers for map.setCollisionBetween() is a bit of a pain, so it would be great if the plugin could set this on the map objects itself. It makes the API even friendlier.

I've also noticed that internal edges on tile objects (collideUp, etc) don't get flagged correctly if map.setCollisionBetween() is called after creating layers. This should be looked into.

Related to #43 and #49.