cloakedninjas Posted May 9, 2015 Share Posted May 9, 2015 I've been playing about with the isometric plugin and have run into some rendering issue with my tiles, I wonder if anyone else has had this issue: This is a screenshot of my map inside Photoshop. The top half is in-game with debug bounds turned on, the lower is without debug The two tiles on their own are the original assets aligned alongside with guides. The original assets at 64 * 32 I've worked off the code from the homepage: http://rotates.org/phaser/iso/test.js but my tilesize is 64 instead of 32 Wall tiles are also affected: Why does my texture overflow the bounding box? Link to comment Share on other sites More sharing options...
lewster32 Posted May 15, 2015 Share Posted May 15, 2015 The iso plug-in makes a rough guess at the size of the tile based on the size of the sprite - it may not get it exactly right. The bounds are automatically generated for topological sorting and aren't usually that important. I'd suggest just tweaking your positioning (i.e. increasing the size of your grid) in your code until the tiles are separated correctly like they are in Photoshop. Also, just so you know, when working with physics and bodies you can specify the size of the body precisely with body.setSize(). Hope this helps! Link to comment Share on other sites More sharing options...
Recommended Posts