But how do I keep the convex shape of the letter? It doesn't show it here but if you open it in a graphic program like IrfanView you'll see what I mean. If I take the cropped letter and paste it on to a 1024x1024 image it looks like this. That's one of the cool things about the image; its irregular shape.
I'm the last person that you ask about how a program works – I don't have that much knowledge pertaining to this.
Basically – you have the image on one side, and you have an
alpha-channel on the other side.
If you open a
dds file with
Irfanview you will notice that the images are surrounded by
black, that is the alpha-channel blocking \ covering up – everything except the image.
For example sake, lets say the the bottom of the letter is 400 pixels wide – you would crop 400 pixels from one letter and paste it onto the other one. This way you are doing it in steps, and aligning the cropped sections to cover up the other sections.
Probably not explained right!
Long Story – Made Short – It works like this:
Start with blank sheet
Crop letter onto blank sheet
Edit letter to size and shape you want
Create a Alpha Channel \ Copy and Paste – Image onto Alpha Channel
Place a
white color over image in alpha channel \ other area is
black surrounding image.
Switch back over to image \ the letter – add buttons \ test in game.
There is a lot more but that is the general procedure.
davinci