Starting with love...
Posted: Sat Oct 30, 2010 6:11 pm
Hi, I need someone to help me ... I'm starting in Love and when I try a simple example made by me, only I get a black window .... I do not understand why?. The main.lua I have :
function load( )
font = love.graphics.newFont( love.default_font, 12 )
love.graphics.setFont( font )
message = " Test "
player=love.graphics.newImage("player.gif")
end
function draw()
love.graphics.draw(message, 100, 100)
love.graphics.draw(player, 100, 100)
end
Gracias....
function load( )
font = love.graphics.newFont( love.default_font, 12 )
love.graphics.setFont( font )
message = " Test "
player=love.graphics.newImage("player.gif")
end
function draw()
love.graphics.draw(message, 100, 100)
love.graphics.draw(player, 100, 100)
end
Gracias....