best way to do alpha blending
Posted: Sun Nov 06, 2011 9:26 pm
hi, I know this topic is probably a very common one, but I still couldn't find an answer that suits me.
I'd like to ask you, what is the best way to do something like in EBA game:

You clearly see that at least 3 sprites here are alpha blended, each of them in different way.
I want to have a couple of sprites on the screen, but each of them of different transparency, there would also be some kind of background so it will not be a blank black one.
I've read about using some registers values but would I be able to alpha-blend more then one sprite in a different way simutanously?
I thought about getting colors pixel by pixel and changing them manually through some kind of formula but I couldn't find any function that would allow me to get single pixels out of the sprite and background...
What's the best way to do it in your opinion?
(sorry for bad english, still learning)
I'd like to ask you, what is the best way to do something like in EBA game:

You clearly see that at least 3 sprites here are alpha blended, each of them in different way.
I want to have a couple of sprites on the screen, but each of them of different transparency, there would also be some kind of background so it will not be a blank black one.
I've read about using some registers values but would I be able to alpha-blend more then one sprite in a different way simutanously?
I thought about getting colors pixel by pixel and changing them manually through some kind of formula but I couldn't find any function that would allow me to get single pixels out of the sprite and background...
What's the best way to do it in your opinion?
(sorry for bad english, still learning)