Question about setColor
Posted: Wed Sep 30, 2015 3:25 pm
Me and a friend are trying to make a replica of frogger. The frogs eye color is red and the frog is green. This code makes the frog green because of the setColor below it. How can we make it not turn blue and keep the frog the original color of the png. Thanks in advance.
Code: Select all
function love.draw()
if play == true then
love.graphics.draw(player.playerImg, player.x, player.y)
else
if play == false then
love.graphics.setFont(love.graphics.newFont(20))
love.graphics.setColor(0, 191, 255)
love.graphics.print("Press enter/return to start!", love.graphics:getWidth()/2-100, love.graphics:getHeight()/2)
end
end
end