Advertisement Jump to content
Sign in to follow this  

Sprite rotation is showing edges

This topic is 4024 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I'm having a problem rotating some sprites on the screen. I have 9 42x42 sprites in a png that is compiled in as a resource and their backgrounds are the same shade of blue as the background they are to be drawn upon. One would think that this would allow for their background to blend into the main background. It works fine, but as soon as I rotate them (even in multiples of 90 degrees) one or two of their edges show as lines that are usually 1 or 2 pixels wide and of a deeper shade of blue. THIS blue is not in the texture at all. So I tried using a hard edged brush to draw #FF00FF (my transparent) around the sprites, so that they are not rectangular anymore, but then the new edges show up in the same blue! What am I doing wrong?

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!