Sign in to follow this  

tileSprite looks to have padding or margin

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!



Share this post

Link to post
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. 

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.