THESE INSTRUCTIONS ARE FOR COMPILING THE GAME'S SOURCE CODE!!!
IF YOU WANT TO COMPILE THE GAME YOURSELF, CONTINUE READING!!!
First you need to install Haxe and HaxeFlixel. I'm too lazy to write and keep updated with that setup (which is pretty simple).
- Install Haxe
- Install HaxeFlixel after downloading Haxe
You can use the library install scripts in the building folder if you want.
Other installations you'd need is the additional libraries, a fully updated list will be in Project.xml
in the project root. Currently, these are all of the things you need to install:
flixel
flixel-addons
flixel-ui
hscript
discord_rpc
polymod
linc_luajit
So for each of those type haxelib install [library]
so shit like haxelib install polymod 1.5.2
You'll also need to install a couple things that involve Gits. To do this, you need to do a few things first.
- Download git-scm. Works for Windows, Mac, and Linux, just select your build.
- Follow instructions to install the application properly.
- Run
haxelib git discord_rpc https://github.com/Aidan63/linc_discord-rpc
to install Discord RPC. - Run
haxelib git linc_luajit https://github.com/AndreiRudenko/linc_luajit
to install Linc_LuaJIT (lua stuff, only desktop tho).
You should have everything ready for compiling the game! Follow the guide below to continue!
Once you have all those installed, it's pretty easy to compile the game. You just need to run 'lime test html5 -debug' in the root of the project to build and run the HTML5 version. (command prompt navigation guide can be found here: https://ninjamuffin99.newgrounds.com/news/post/1090480)
To run it from your desktop (Windows, Mac, Linux) it can be a bit more involved. For Linux, you only need to open a terminal in the project directory and run 'lime test linux -debug' and then run the executable file in export/release/linux/bin. For Windows, you need to install Visual Studio Community 2019. While installing VSC, don't click on any of the options to install workloads. Instead, go to the individual components tab and choose the following:
- MSVC v142 - VS 2019 C++ x64/x86 build tools
- Windows SDK (10.0.17763.0)
This will install about 22GB of crap, but once that is done you can open up a command line in the project's directory and run lime test windows -debug
. Once that command finishes (it takes forever even on a higher end PC), you can run FNF from the .exe file under export\release\windows\bin
As for Mac, 'lime test mac -debug' should work, if not the internet surely has a guide on how to compile Haxe stuff for Mac.
Also, if you're building 32 bit, then you have to remove a specific line in the Project.xml file in the source code. It says where it is, just know that to build it 32 bit, you have to remove that line and then do lime test windows -debug -32
.