jmp909 Posted October 23, 2015 Share Posted October 23, 2015 Hi, I made some headway in working out how to do overlapped tiles in Phaser for 2.5D-type maps. There are a few issues though due to the way things are calculated. One of which is the need for tile rendering order.. this is a map option in Tiled. I'm not sure it's available in Phaser currently you can see the difference between the two... Phaser does the "Right Down" method (top image).. I need "Right Up" (or "Left Up") any ideas? thanksJ drhayes 1 Link to comment Share on other sites More sharing options...
Skeptron Posted October 23, 2015 Share Posted October 23, 2015 What I would do is put the different layers in a group and order them in this group. I don't think Phaser supports such Tiled properties. You could suggest this kind of feature to Rich or to the owner of this plugin : https://github.com/englercj/phaser-tiled Link to comment Share on other sites More sharing options...
jmp909 Posted October 23, 2015 Author Share Posted October 23, 2015 But there's only 1 layer there (excluding shadows and gems). you should consider the map as just the front (shaded) side of the blocks. Aside from a slight positioning bug and debug rendering bug, the collision physics works as expected Rich mentioned it's likely be possible extending TileMapLayer and overriding the render function. Possibly just renderRegion internal function , but I'm not sureJ Link to comment Share on other sites More sharing options...
Recommended Posts