Jump to content

tileSprite looks to have padding or margin


Titus
 Share

Recommended Posts

Hi guys,

 

I'm having an issue with a tileSprite I'm using to cover  my game screen. It looks like the repeating texture has spacing/margin added on all sides which creates this grid like effect in the screenshot below. I have no idea how this has happened because yesterday when I was working on the game (and all times previously) the tileSprite formed a solid texture the size of the game world. I've tried this with 2 separate textures, in different states/browsers and I'm starting to think I'm going crazy. Any help advice would be greatly appreciated. Thanks!

 

5a588a816e7b0_tilespriteissue.png.4b9f3d139456425d7c6e6f0e5b852f18.png

Link to comment
Share on other sites

I've actually fixed this now. Weirdly I had to cut the area of the texture pixel perfect in Photoshop and not leave any of the chequered canvas around the png (which is usually ignored). The most confusing part is that I had used this texture previously as a tileSprite without this happening. 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...