Page 2 of 14

Re: jumping tutorial?

Posted: Sun Nov 07, 2010 11:03 pm
by Robin
That should not matter. Could you give a bit more information? It's pretty hard to diagnose the problem right now.

Re: jumping tutorial?

Posted: Sun Nov 07, 2010 11:07 pm
by toaster468
Image

Re: jumping tutorial?

Posted: Sun Nov 07, 2010 11:21 pm
by Robin
The problem is, we still can't see where "X.PNG" is located.

Re: jumping tutorial?

Posted: Sun Nov 07, 2010 11:23 pm
by toaster468
oh sorry

Image

Re: jumping tutorial?

Posted: Sun Nov 07, 2010 11:25 pm
by toaster468
it is where all the other files are, i have tried making a file named img to keep all of them but that didnt work either :(

Re: jumping tutorial?

Posted: Sun Nov 07, 2010 11:25 pm
by Robin
I don't have a clue as to what might be wrong.

Re: jumping tutorial?

Posted: Sun Nov 07, 2010 11:28 pm
by toaster468
:cry:

Re: jumping tutorial?

Posted: Sun Nov 07, 2010 11:30 pm
by toaster468
what i have right now:

Code: Select all

-- Office Man Stan --



function love.load()

	love.graphics.setMode(320, 320)
	love.graphics.setCaption( "Office Man Stan" )

	stan = love.graphics.newImage( "img/P.PNG" )
	ground = love.graphics.newImage( "img/X.PNG" )


end


function love.update(dt)

end

function love.draw()

	love.graphics.draw( stan, 50, 50 )
	love.graphics.draw( ground, 0, 240 )
	
end

Re: jumping tutorial?

Posted: Sun Nov 07, 2010 11:50 pm
by ninwa
Remove "img/" from before X.png. That would suggest it's in a directory called 'img,' which it's not.

Re: jumping tutorial?

Posted: Mon Nov 08, 2010 12:11 am
by toaster468
but it works when i am only calling 1 picture