Windows executable
The process of creating an executable format of our game is very easy by following the given steps:
Download the source folder of LÖVE by visiting love2d.org and click on Zipped 32-bit.
Extract the folder, copy the
love.exe
file in there together with our game's.love
file, and put both of them in another folder (for example,My game
)Press Window key + R. In the panel displayed, type
cmd
and click on Run, a console will display on the screen.Now enter the following command:
cd [directory to our game]
. For example, on my computer, theMy game
folder is stored inMy
Documents
folder. My command line will look like the following command:cd c:/users/DarmieAkinlaja/My Documents/My game
Then you can now append your game .love file with the love.exe file, and create your desired executable file by entering the following command line:
copy /b love.exe+mygame.love mygame.exe
Immediately after you press the Enter button, an .exe version of your game will be created in the same folder...