Deving on PC or Android?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Deving on PC or Android?
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?
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:
In case this helps, here's the process in pictures:
Any code samples/ideas by me should be considered Public Domain (no attribution needed) license unless otherwise stated.
Re: Deving on PC or Android?
Seems I can only post 3 pics per post. Here's the 4th pic I wanted to show - the contents of the .zip archive.
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!
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!
Any code samples/ideas by me should be considered Public Domain (no attribution needed) license unless otherwise stated.
- Gunroar:Cannon()
- Party member
- Posts: 1142
- Joined: Thu Dec 10, 2020 1:57 am
Re: Deving on PC or Android?
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?
Huh, I never knew about the "lovegame" part. Good to know, thanks!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.
Any code samples/ideas by me should be considered Public Domain (no attribution needed) license unless otherwise stated.
Who is online
Users browsing this forum: Amazon [Bot], Bing [Bot] and 2 guests