Sign in to follow this  
NotTheCommonDose

Java Graphics gradient/fade effect

Recommended Posts

Hi my name is James. I have a question regarding an effect I would like to produce on the edges of my screen efficiently. If the next level over is one which is dark and needs a flashlight I would like the edge of the screen to fade to black over whatever is drawn there. What would be the best way to do this without drawing a faded png which might negatively affect performance?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this