Hey guys!
I'm super green here, so can you guys teach me how to load an image from my hard disk?
thanks!
Loading an image
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Loading an image
Help us help you: attach a .love.
-
- Prole
- Posts: 3
- Joined: Wed Sep 07, 2011 10:55 am
Re: Loading an image
so basically i put in that command followed by the directory?
btw, thank you!
Re: Loading an image
yup! ^_^williammah wrote:
so basically i put in that command followed by the directory?
btw, thank you!
Re: Loading an image
Meet the Hamster Ball: http://love2d.org/wiki/Tutorial:Hamster_Ballwilliammah wrote:Hey guys!
I'm super green here, so can you guys teach me how to load an image from my hard disk?
thanks!
My lovely code lives at GitHub: http://github.com/miko/Love2d-samples
- BlackBulletIV
- Inner party member
- Posts: 1261
- Joined: Wed Dec 29, 2010 8:19 pm
- Location: Queensland, Australia
- Contact:
Re: Loading an image
By the file's path (not just its directory), yes. This path is relative to your game's folder and save folder. You might want read up a bit on love.filesystem.williammah wrote:so basically i put in that command followed by the directory?
-
- Prole
- Posts: 3
- Joined: Wed Sep 07, 2011 10:55 am
Re: Loading an image
BlackBulletIV wrote:By the file's path (not just its directory), yes. This path is relative to your game's folder and save folder. You might want read up a bit on love.filesystem.williammah wrote:so basically i put in that command followed by the directory?
ok then
thanks guys for all the replies!
Who is online
Users browsing this forum: Google [Bot] and 5 guests