Masked color?
by Matthews_30 · in Torque Game Builder · 08/15/2007 (3:07 pm) · 2 replies
Well,
i am trying to play with 2 fighters animated images.
i created both on a sqare where the character is in the middle but my problem is how to make the rest color (white) of the square that is not been used or colored does not appear in the animation?
in short, i have the fighter in several frames (8) but i want that my fighter apperas without the rest of the wehite area not part of the character. in other progamming languages it is called "Masked Color" so if the color you dont want to appears is white, you type something like Mask(x,y,z) where every letter is a value of RGB what finally gives you the color you dont want to appers and it displays only the character you want.
please i need a help.
thanks.
matt.
i am trying to play with 2 fighters animated images.
i created both on a sqare where the character is in the middle but my problem is how to make the rest color (white) of the square that is not been used or colored does not appear in the animation?
in short, i have the fighter in several frames (8) but i want that my fighter apperas without the rest of the wehite area not part of the character. in other progamming languages it is called "Masked Color" so if the color you dont want to appears is white, you type something like Mask(x,y,z) where every letter is a value of RGB what finally gives you the color you dont want to appers and it displays only the character you want.
please i need a help.
thanks.
matt.
Associate James Ford
Sickhead Games