a .lua file to a .love file
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
a .lua file to a .love file
So I'm new to love2d so I made a game saved it as main.lua. I went to watch a video that said to compress the file and then change the extension of the end to a .love file and it would convert it to a openable love game... well when I went to change the extension to .love and it didn't change to file type. Then I went to change the actual file from .lua to .love and it wouldn't work. Help.
Re: a .lua file to a .love file
You need to make a .zip file and rename that file to .love.
IMPORTANT: .rar does NOT work.
IMPORTANT: .rar does NOT work.
Re: a .lua file to a .love file
Sounds like you did something wrong, but it's really hard to know what from what you write. Maybe you're running Windows, and have settings in Explorer that hides file endings? That can really mess things up.
What you're supposed to do:
1. Compress the main.lua so that you have a zip-file called "game.zip". Make sure you don't compress the folder (common mistake) but the actual file. When you decompress, all that should pop out should be the main.lua file.
2. Rename "game.zip" to "game.love"
3. If Löve is correctly installed on your system, double-clicking game.love should run the game.
What you're supposed to do:
1. Compress the main.lua so that you have a zip-file called "game.zip". Make sure you don't compress the folder (common mistake) but the actual file. When you decompress, all that should pop out should be the main.lua file.
2. Rename "game.zip" to "game.love"
3. If Löve is correctly installed on your system, double-clicking game.love should run the game.
My game called Hat Cat and the Obvious Crimes Against the Fundamental Laws of Physics is out now!
-
- Prole
- Posts: 1
- Joined: Mon Oct 24, 2022 1:16 pm
Re: a .lua file to a .love file
I've attached an image which shows you what to do here. I ran into the same problem
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 5 guests