2D Toolkit Forum

2D Toolkit => Support => Topic started by: inkoman on November 08, 2012, 01:31:40 am

Title: Black Border Between Planes?
Post by: inkoman on November 08, 2012, 01:31:40 am
Hi,

Whenever I use the Tile Map or Sprites and put textures together (like grass tiling for example), I can see a noticeably black line in between the planes. Any ideas why this might be? I attached a screenshot of 4 grass tiles put together at their intersection.

Thanks!

Title: Re: Black Border Between Planes?
Post by: unikronsoftware on November 08, 2012, 10:05:29 am
Done this yet?
http://unikronsoftware.com/2dtoolkit/forum/index.php/topic,294.0.html
Title: Re: Black Border Between Planes?
Post by: inkoman on November 08, 2012, 09:27:45 pm
I love you. Thank you!
Title: Re: Black Border Between Planes?
Post by: inkoman on November 08, 2012, 09:28:39 pm
What's the difference between Default, Black Zero Alpha, and Extend?
Title: Re: Black Border Between Planes?
Post by: unikronsoftware on November 08, 2012, 10:34:18 pm
Pad Method

Black Zero Alpha (Default) - Fills out the padded areas with fully transparent black pixels. Use for normal sprites.
Extend - Fills out the padded areas by expanding the border pixels. Ideal for tiled sprites.

This and more here :)
http://unikronsoftware.com/2dtoolkit/doc/reference/sprite_collection.html