Question about jpg and tga file---mixed them like a png file
Hi,
Recently I have found there are many games using a jpg and a tag file for their sprites !
As you know , we can use a png file with alpha-channel to transparent them on the screen . This is used for sprites in a game specially .
But I have found these games only use jpg and tga file !
And it seems the tga file is only a black-white image ! So ,the questions is : How to use a jpg and a tga file to work together like a png file ? --Especially in HGE .
Thanks for your time
Load jpg as a normal image, then load the monochrome TGA into the alpha channel of the jpg you loaded.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement