Game Development Community

T2D alpha weirdness

by Jaybill · in Torque Game Builder · 01/15/2006 (11:44 am) · 2 replies

Hi all. I'm a newcomer to T2D and I'm having an odd issue someone might be able to help me with.

I'm writing a platformer. (Well, *rewriting* a platformer from my demo in *gulp* Gamemaker)

My player is an animated sprite using the "CELL" format for imagemaps. It's a PNG with an alpha channel. My sprites are supposed to look "retro" and therefore have hard, square edges. The oddness is that no matter what I do, I get a thin, white line around my sprite, almost as if the image was anti-aliased (which I am certain it is not). This happens both in D3D and OpenGL.

If I use "setBlending" to "false" I get a thick, ugly, white line around my sprite.

I'd love to be able to turn the whole anti-alias thing off completely, as I really want a hard-edged look for this thing.

Any ideas?

#1
01/15/2006 (11:50 am)
If you repost in the private forums, we should be able to help you out :)
#2
01/15/2006 (11:54 am)
Sorry - where are the T2D private forums? Only saw stuff for TGE.

EDIT: der. Nevermind. Found and reposted.