jumping tutorial?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: jumping tutorial?

Post by Robin » Sun Nov 07, 2010 11:03 pm

That should not matter. Could you give a bit more information? It's pretty hard to diagnose the problem right now.
Help us help you: attach a .love.

User avatar
toaster468
Citizen
Posts: 77
Joined: Sat Nov 06, 2010 11:30 pm

Re: jumping tutorial?

Post by toaster468 » Sun Nov 07, 2010 11:07 pm

Image

User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: jumping tutorial?

Post by Robin » Sun Nov 07, 2010 11:21 pm

The problem is, we still can't see where "X.PNG" is located.
Help us help you: attach a .love.

User avatar
toaster468
Citizen
Posts: 77
Joined: Sat Nov 06, 2010 11:30 pm

Re: jumping tutorial?

Post by toaster468 » Sun Nov 07, 2010 11:23 pm

oh sorry

Image

User avatar
toaster468
Citizen
Posts: 77
Joined: Sat Nov 06, 2010 11:30 pm

Re: jumping tutorial?

Post by toaster468 » Sun Nov 07, 2010 11:25 pm

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 :(

User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: jumping tutorial?

Post by Robin » Sun Nov 07, 2010 11:25 pm

I don't have a clue as to what might be wrong.
Help us help you: attach a .love.

User avatar
toaster468
Citizen
Posts: 77
Joined: Sat Nov 06, 2010 11:30 pm

Re: jumping tutorial?

Post by toaster468 » Sun Nov 07, 2010 11:28 pm

:cry:

User avatar
toaster468
Citizen
Posts: 77
Joined: Sat Nov 06, 2010 11:30 pm

Re: jumping tutorial?

Post by toaster468 » Sun Nov 07, 2010 11:30 pm

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

User avatar
ninwa
Party member
Posts: 118
Joined: Tue Oct 12, 2010 1:21 am
Location: Metro Detroit
Contact:

Re: jumping tutorial?

Post by ninwa » Sun Nov 07, 2010 11:50 pm

Remove "img/" from before X.png. That would suggest it's in a directory called 'img,' which it's not.

User avatar
toaster468
Citizen
Posts: 77
Joined: Sat Nov 06, 2010 11:30 pm

Re: jumping tutorial?

Post by toaster468 » Mon Nov 08, 2010 12:11 am

but it works when i am only calling 1 picture

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 27 guests