Code: Select all
function love.draw()
love.graphics.print("Hello World!", 0, 0)
end
i start the code like this.
PS C:\Users\brotm> cd desktop
PS C:\Users\brotm\desktop> love lovepractice
PS C:\Users\brotm\desktop> love --version
PS C:\Users\brotm\desktop> LOVE 11.4 (Mysterious Mysteries)
and i just get a black screen can someone tell me why ?
thanks in advance !
ps. if i do this i see the player drawn.
Code: Select all
function love.load()
player = love.graphics.newImage("assets/untitled.png")
end
function love.draw()
love.graphics.draw(player, 300, 200)
end
now this startet working magically...dunno why after i did use the second code...