Page 2 of 2

Re: Deving on PC or Android?

Posted: Mon Dec 13, 2021 2:54 pm
by JayPaul87
Yep that's the zipped folder, I've had this issue before and it had something to do with the version I was using. I guess apparently one of the scripts was outdated, I don't know if that could be the issue?

Re: Deving on PC or Android?

Posted: Tue Dec 14, 2021 4:10 pm
by milon
What do you mean by "scripts"? If you mean a library you've included in your project, that shouldn't cause main.lua to not be found. If you mean something that's part of your build process, I guess it's possible, but this hasn't changed ever to my knowledge.

In case this helps, here's the process in pictures:
Folder structure before zipping
Folder structure before zipping
1_structure.png (26.92 KiB) Viewed 3617 times
Folder structure after zipping folder
Folder structure after zipping folder
2_zipped.png (27.1 KiB) Viewed 3617 times
After renaming the .zip to .love
After renaming the .zip to .love
4_renamed.png (27.6 KiB) Viewed 3617 times

Re: Deving on PC or Android?

Posted: Tue Dec 14, 2021 4:11 pm
by milon
Seems I can only post 3 pics per post. Here's the 4th pic I wanted to show - the contents of the .zip archive.
.zip archive contents
.zip archive contents
3_archive.png (11.39 KiB) Viewed 3617 times
For you, the process may differ since you're doing this on mobile. For me (Linux desktop PC), the basic process is:
1. Open the folder containing the main.lua file
2. Select everything (or everything I want to include in the build), right-click, Create Archive
3. Create a .zip file
4. Rename .zip to .love
5. Execute the .love

This process can be automated, of course, but you may be experiencing issues with that hence the literal steps. Hope that helps! :)

Re: Deving on PC or Android?

Posted: Wed Dec 15, 2021 3:53 pm
by Gunroar:Cannon()
To get the game working on Android do the zip method or paste the contents of the zip into a folder called "lovegame" in internal storage.

Re: Deving on PC or Android?

Posted: Mon Dec 20, 2021 6:05 pm
by milon
Gunroar:Cannon() wrote: Wed Dec 15, 2021 3:53 pm To get the game working on Android do the zip method or paste the contents of the zip into a folder called "lovegame" in internal storage.
Huh, I never knew about the "lovegame" part. Good to know, thanks!