I have created a zip file with main.lua in it. I use a module called "SUIT", which is stored in a subdirectory called 'SUIT'.
My zip file looks like this:
- main.lua
- SUIT\core.lua
- SUIT\<all other suit files>
When I start up, I get:
Where am I supposed to put my module dependency when creating a .love file for distribution?
Thanks
Distributing with modules
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- slime
- Solid Snayke
- Posts: 3162
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Distributing with modules
zip files are case sensitive (but the Windows filesystem isn't) - make sure you're doing require("SUIT") instead of require("suit") if the folder name is all upper-case letters.
-
- Prole
- Posts: 3
- Joined: Sat Mar 25, 2017 7:32 pm
Who is online
Users browsing this forum: Google [Bot] and 2 guests