Ive been trying to load his sprite sheet of mine but it keeps giving me an error saying it cant open the file and that it ' does not exist ' . Heres what ive done:
player = love.graphics.newImage("Desktop/Side Scroller/gfx/Sprite.png")
If anyone can help me that would be great , thanks
I need some help loading an external sprite sheet.
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Prole
- Posts: 5
- Joined: Sun Jun 10, 2018 1:52 am
-
- Party member
- Posts: 126
- Joined: Sat May 09, 2015 9:15 pm
Re: I need some help loading an external sprite sheet.
Hi, I think Love would usually access files either within the game folder or relative to its save directory.
Try putting your sprite file inside the game folder and take away the rest of the directory path.
Try putting your sprite file inside the game folder and take away the rest of the directory path.
Who is online
Users browsing this forum: Ahrefs [Bot], Amazon [Bot], Bing [Bot], Google [Bot] and 6 guests