Hi, i've been attempting to make a game and was wondering how to make objects (such as rectangles) in and out from a JPanel. Can anybody help me out?
Thanks in advance,
~Ben
Fading Objects In And Out
Change the color you use. Start out with a color that is mostly (or all) transparent (low alpha) then raise the alpha over time to 255 (fully opaque).
Edit: Thanks BeerNutts. Had it backwards.
Edit: Thanks BeerNutts. Had it backwards.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement