Having Trouble Making an Image Transparent [Solved]
Posted: Mon Jan 14, 2019 9:35 am
Hi ! I'm new to love and i'm trying to make my png image transparent using code in love. this is my code:
what am i doing wrong here? if i set the alpha value to 0, the image completely disappears. And when i set it on any other value, it becomes fully visible, with no transparency!
Code: Select all
function love.load()
Image = love.graphics.newImage("love-big-ball.png")
end
function love.draw()
love.graphics.setColor(255, 255, 255, 50)
love.graphics.draw(Image, 50, 50)
end