Basic Image Question
Posted: Sat Jun 06, 2009 7:52 pm
Say I did this:
Now, when I did image = love.graphics.newImage("Images/uziah.png"), I got the error:
could not load file Images/uziah.png
Now my question is, Where does the system look for an image. I typed in the full directory once, and It still didn't work.
BTW, Images is a folder which resides in C: Program Files/ LOVE
Code: Select all
function load()
image = love.graphics.newImage("Images/uziah.png")
end
function draw()
love.graphics.draw(image, 200,200)
end
could not load file Images/uziah.png
Now my question is, Where does the system look for an image. I typed in the full directory once, and It still didn't work.
BTW, Images is a folder which resides in C: Program Files/ LOVE