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 .
Renkitty
Prole
Posts: 2 Joined: Sat Jul 30, 2016 7:15 am
Post
by Renkitty » Sat Jul 30, 2016 7:19 am
Hello,
I am trying to load an image, but it keeps telling me it does not exist. I have checked multiple times, and the file is indeed called "cake.jpg" and not "cake.jpg.jpg" or whatever. So I'm kinda stuck.
http://puu.sh/qjvuK/dbd38ac4ec.png
I would appreciate any help
- Jero ~
Nixola
Inner party member
Posts: 1949 Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy
Post
by Nixola » Sat Jul 30, 2016 9:26 am
Are you sure the love file includes both main.lua and the image file?
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
pielago
Party member
Posts: 142 Joined: Fri Jun 14, 2013 10:41 am
Post
by pielago » Sat Jul 30, 2016 9:42 am
here not sure if will help
Attachments
cake.love
(4.12 KiB) Downloaded 117 times
Renkitty
Prole
Posts: 2 Joined: Sat Jul 30, 2016 7:15 am
Post
by Renkitty » Sat Jul 30, 2016 12:07 pm
Haha, I forgot to include the picture into the .love. Thanks, it works now
Users browsing this forum: 101Corp and 1 guest