I'm making a 2D tile based game and I need to make part of a sprite transparent. I assume I should choose a determinate color and tell Java "Please Java, don't draw any pixel of this color.", but I don't know how to do it. I already googled it but I only get results about "alpha".
Also how can I "set priority" to my sprites so that the ones with high priority are always drawn in the front?
Thanks.