While having a look at
LÖVE engine, I've noticed that described compilation method under Windows is not quite fast or fun (because of requiring you to open console and type\paste project-specific code). So I've grabbed my semi-existing Batch coding skills and made a better one:
copy /b love.exe+%1 "%~dpn1.exe"
How to use this:
- Create a file called 'compile.bat' in the same directory with Love2d runner.
- Paste above code into it.
- To compile a game, drag it's .love\.zip onto your compile.bat - an executable (compiled game) will appear next to it, named after game's file.
That's it. Couldn't be easier.
Related posts: