image help

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.
Post Reply
Evil_Bartek
Prole
Posts: 43
Joined: Sun Dec 25, 2011 5:13 pm

image help

Post by Evil_Bartek »

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!
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: image help

Post by Robin »

First, relax, man. :)

Second. It looks like it should work perfectly fine.

What is your whole code? (.love please)
Help us help you: attach a .love.
Evil_Bartek
Prole
Posts: 43
Joined: Sun Dec 25, 2011 5:13 pm

Re: image help

Post by Evil_Bartek »

It works now,
thanks for replying anyway.
How do i draw images?
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: image help

Post by Robin »

Evil_Bartek wrote:How do i draw images?
love.graphics.draw

The wiki is your friend. ;)
Help us help you: attach a .love.
Post Reply

Who is online

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