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 .
Evil_Bartek
Prole
Posts: 43 Joined: Sun Dec 25, 2011 5:13 pm
Post
by Evil_Bartek » Sun Dec 25, 2011 5:19 pm
Hello, here is part of my code:
Code: Select all
peter = love.graphics.newImage("Peter_Griffin.png")
My code did not work, it's because of the file path.
I don't want to put it in any of my folders in my computer apart from the actual love file.
I tried to put it in the love file but there was the same error! HELP! ASAP!
Robin
The Omniscient
Posts: 6506 Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:
Post
by Robin » Sun Dec 25, 2011 8:15 pm
First, relax, man.
Second. It looks like it should work perfectly fine.
What is your whole code? (.love please)
Evil_Bartek
Prole
Posts: 43 Joined: Sun Dec 25, 2011 5:13 pm
Post
by Evil_Bartek » Sun Dec 25, 2011 8:48 pm
It works now,
thanks for replying anyway.
How do i draw images?
Robin
The Omniscient
Posts: 6506 Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:
Post
by Robin » Sun Dec 25, 2011 9:59 pm
Evil_Bartek wrote: How do i draw images?
love.graphics.draw
The wiki is your friend.
Users browsing this forum: Google [Bot] and 6 guests