Author Topic: weird border around my sprite  (Read 3318 times)

duncanx

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 23
    • View Profile
weird border around my sprite
« on: July 02, 2013, 02:28:05 AM »
Just a simple squared sprite that I am stretching to fill an area. It has a pixel border added to it. It's not in the source file. I read about this issue for tiledsprites, but the solution didn't work for a regular sprite. I couldn't find a solution for a regular sprite.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: weird border around my sprite
« Reply #1 on: July 02, 2013, 11:21:10 AM »
It's most likely the result of pixel filtering. That's just how filtering works. Use a sliced sprite with a 1 pixel border instead if you need to stretch something.