Author Topic: Purple outline with rotosprite  (Read 1270 times)

Offline AlienMenace

  • Mr. Polyvector
  • ***
  • Posts: 149
    • View Profile
Purple outline with rotosprite
« on: 2011-Feb-24 »
Anybody know why a 1-pixel purplish outline is showing up when using rotosprite? The image displays fine when using drawsprite.
Apps published: 3

Offline Ian Price

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 4159
  • On the shoulders of giants.
    • View Profile
    • My Apps
Re: Purple outline with rotosprite
« Reply #1 on: 2011-Feb-24 »
You need to use SMOOTHSHADING FALSE prior to using ROTOSPRITE to get rid of this - it's anti-aliasing, to make the image appear smoother, getting muddled with the mask colour.

:)
I came. I saw. I played.

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10816
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Purple outline with rotosprite
« Reply #2 on: 2011-Feb-24 »
or make the transparent pixels with the colour you want and add an alpha layer to the png.