H
haza
Guest
Hi,
I'm making a risk style game and so I have a sprite for each country with its border, filled in with white and zero alpha outside the border. When a country is occupied I wish to have the white replaced by a flag. Let's say a country is occupied by the USA then I want the usa flag to be printed instead of the white. I have a separate sprite for each flag (not the same size as each country obviously as each country sprite size is different).
Any ideas how this can be done dynamically?
I'm making a risk style game and so I have a sprite for each country with its border, filled in with white and zero alpha outside the border. When a country is occupied I wish to have the white replaced by a flag. Let's say a country is occupied by the USA then I want the usa flag to be printed instead of the white. I have a separate sprite for each flag (not the same size as each country obviously as each country sprite size is different).
Any ideas how this can be done dynamically?