Hello Guest

Author Topic: Black Border Between Planes?  (Read 5899 times)

inkoman

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 13
    • View Profile
Black Border Between Planes?
« 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!


unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile

inkoman

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Black Border Between Planes?
« Reply #2 on: November 08, 2012, 09:27:45 pm »
I love you. Thank you!

inkoman

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Black Border Between Planes?
« Reply #3 on: November 08, 2012, 09:28:39 pm »
What's the difference between Default, Black Zero Alpha, and Extend?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Black Border Between Planes?
« Reply #4 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