From 65ea2d6f8e40ee6ba63bb0cddf4c76336726fa76 Mon Sep 17 00:00:00 2001 From: entar Date: Thu, 19 Jun 2025 19:55:55 +0700 Subject: [PATCH] Add Building --- Building.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Building.md diff --git a/Building.md b/Building.md new file mode 100644 index 0000000..46eb417 --- /dev/null +++ b/Building.md @@ -0,0 +1,22 @@ +# Why would you need to build the game + +If for your mod you had to modify the source of the game (stuff inside the src folder which is later built into TaggedEngine.exe), you somehow need to make that .exe out of it +The default love2d building process is explained on [the love2d wiki](https://love2d.org/wiki/Game_Distribution), but i will explain it here for people who don't understand the default guide. + +### WARNING: YOU NEED [LOVE2D](https://love2d.org/) ON YOUR SYSTEM TO DO THIS!!! + +# How to build the engine + +1. You ZIP the stuff in the src folder. +2. You rename the zip to src.love +3. Open CMD in the main game folder +4. Put the src.love file into the main game folder + +### IF YOU WANT TO PLAYTEST BEFORE MESSING WITH THE .EXE +5. Run ```"C:\\Program Files\LOVE\love.exe" src.love --fused``` +------------------------------------------------------------------------- + +6. Run ```copy /b "C:\\Program Files\LOVE\love.exe"+src.love TaggedEngine.exe``` +7. If you want to change the .exe icon, use something like [Resource Hacker](https://www.angusj.com/resourcehacker/) + +Now we have a fully working TaggedEngine.exe! From now on you can delete the src folder and the src.love file. \ No newline at end of file