delete post
Posted: Wed Feb 20, 2013 7:22 pm
delete post
Code: Select all
function love.draw()
if menu == 1 then
love.graphics.setColor(255, 0, 0)
love.graphics.print("Jugar", 100, 100, 0, 2, 2)
love.graphics.setColor(0, 0, 255)
love.graphics.print("Opciones", 100, 200, 0, 2, 2)
love.graphics.setColor(0, 0, 255)
love.graphics.print("Salir", 100, 300, 0, 2, 2)
end
if menu == 2 then
love.graphics.setColor(0, 0, 255)
love.graphics.print("Jugar", 100, 100, 0, 2, 2)
love.graphics.setColor(255, 0, 0)
love.graphics.print("Opciones", 100, 200, 0, 2, 2)
love.graphics.setColor(0, 0, 255)
love.graphics.print("Salir", 100, 300, 0, 2, 2)
end
if menu == 3 then
love.graphics.setColor(0, 0, 255)
love.graphics.print("Jugar", 100, 100, 0, 2, 2)
love.graphics.setColor(0, 0, 255)
love.graphics.print("Opciones", 100, 200, 0, 2, 2)
love.graphics.setColor(255, 0, 0)
love.graphics.print("Salir", 100, 300, 0, 2, 2)
end
end
Code: Select all
function love.draw()
love.graphics.setColor(0, 0, 255)
if menu == 1 then
love.graphics.setColor(255, 0, 0)
end
love.graphics.print("Jugar", 100, 100, 0, 2, 2)
love.graphics.setColor(0, 0, 255)
if menu == 2 then
love.graphics.setColor(255, 0, 0)
end
love.graphics.print("Opciones", 100, 200, 0, 2, 2)
love.graphics.setColor(0, 0, 255)
if menu == 3 then
love.graphics.setColor(255, 0, 0)
end
love.graphics.print("Salir", 100, 300, 0, 2, 2)
end
end