How do I make a drawn rectangle, or image slightly transparent? Can I?
Also, if you have any ideas for a GUI Library, I'd like to hear them.
Transparency
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Transparency
You can use love.graphics.setColor as such.
Code: Select all
love.graphics.setColor(255,255,255,a) -- where a is the transparency between 0 and 255, with 0 being invisible and 255 being completely visible.
love.graphics.draw(image, x, y) -- draw your image.
love.graphics.setColor(255,255,255,255) --make other things completely visible after this point.
Who is online
Users browsing this forum: No registered users and 3 guests