Sprite clipping
by Vern Jensen · in Torque Game Builder · 06/19/2008 (11:44 am) · 3 replies
Ahh, so Melv, I just remembered a very important one: sprite clipping! The current method of using a scroller is messy and also somewhat buggy. (Brief drawing glitches at times.)
Providing basic rectangle clipping for a sprite would be helpful, but far better would be being able to clip a sprite to some mask specified in an imageMap. (Maybe it's a grayscale mask for alpha clipping, or a black-and-white mask for plain on-or-off clipping.) THIS would be hugely helpful -- much more than rectangle-based clipping alone.
Providing basic rectangle clipping for a sprite would be helpful, but far better would be being able to clip a sprite to some mask specified in an imageMap. (Maybe it's a grayscale mask for alpha clipping, or a black-and-white mask for plain on-or-off clipping.) THIS would be hugely helpful -- much more than rectangle-based clipping alone.
#2
10/16/2008 (12:24 am)
Hmm, if I follow your correctly you want to use an alpha mask for images, correct? Doesn't TGB support images with "alpha.extension" appended to the end for use as masks? Connor O'Kanes game used this method I iirc.
Torque 3D Owner Kalle Wik
Default Studio Name