Game Development Community

flickering on a t2dStaticSprite with transparent PNG image map

by Merfy · in Torque Game Builder · 04/10/2009 (9:27 pm) · 2 replies

I am doing very basic animation with a sprite using SetLinearVelocityY() and as the sprite is moving up, it randomly flickers along the very bottom edge. The background is solid black. It's a constant flicker with smooth filter mode, but in 'none' filter mode it happens only about half as much. The bottom row of pixels of the sprite flicker between white and transparent as the static sprite is moving up. I just don't get it. Is it a bug with transparent PNG?

#1
04/10/2009 (9:42 pm)
The filter pad option fixes it. I guess this means it extends the filtering beyond the edge of the sprite or something?
#2
04/11/2009 (10:52 pm)
Thanks that solved the same issue I had.