jumping tutorial?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: jumping tutorial?
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.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: jumping tutorial?
The problem is, we still can't see where "X.PNG" is located.
Help us help you: attach a .love.
- toaster468
- Citizen
- Posts: 77
- Joined: Sat Nov 06, 2010 11:30 pm
Re: jumping tutorial?
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
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: jumping tutorial?
I don't have a clue as to what might be wrong.
Help us help you: attach a .love.
- toaster468
- Citizen
- Posts: 77
- Joined: Sat Nov 06, 2010 11:30 pm
Re: jumping tutorial?
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?
Remove "img/" from before X.png. That would suggest it's in a directory called 'img,' which it's not.
- toaster468
- Citizen
- Posts: 77
- Joined: Sat Nov 06, 2010 11:30 pm
Re: jumping tutorial?
but it works when i am only calling 1 picture
Who is online
Users browsing this forum: Amazon [Bot], Bing [Bot], Bondrusiek, Google [Bot] and 2 guests