2D Toolkit Forum
2D Toolkit => Support => Topic started by: midasmax on July 11, 2013, 03:26:51 am
-
Hi there,
I'm trying to create a tile-able background image. The background is 960x640, but when I place two Sprites next to each other, there appears to be a visible separator line between the both of them.
Here is a zoomed in image from the editor
(http://i.imgur.com/j4S3N3s.png)
And this is the game view window:
(http://i.imgur.com/AsbGsmy.png)
Any idea how I might fix this?
Update:
So I think I've fixed it! I changed the Filter Mode from "Bilinear" to "Point" in the Sprite Collection Settings. This seems to work!
-
I had this problem once too, it was fixed by setting the "Pad method" of the sprite to "Extend" (instead of "Default").
Source: http://unikronsoftware.com/2dtoolkit/forum/index.php?topic=254.0 (http://unikronsoftware.com/2dtoolkit/forum/index.php?topic=254.0)
-
The FAQ entry for this is here:
http://unikronsoftware.com/2dtoolkit/forum/index.php/topic,294.0.html
It you want bilinear to work properly, you will need to set pad to extend.
-
Thanks guys!
I do apologize for not sourcing it out in the FAQs sub-forum prior to posting it here. I'll be sure to check that place out if I run into any issues first the next time! I actually did a search on the forum for "separation", but should have thought about "gap" too ;)
All the same, I really appreciate the help and advice. The dwellers of this forum are really nice, prompt, and helpful. Thanks so much!