Skip to content

Latest commit

 

History

History
66 lines (43 loc) · 2.08 KB

Compiling.md

File metadata and controls

66 lines (43 loc) · 2.08 KB

Compilation instructions

Haxe/HaxeFlixel stuff

For compile the game, first... you need:

Later, you need install this additional libraries (depending your target platform):

For all platforms (Desktop/Web/Android)

haxelib install flixel-addons

For desktop (Windows/Linux/macOS)

haxelib install flixel-ui
haxelib git discord_rpc https://github.com/Aidan63/linc_discord-rpc

Build executable

Hashlink

  • Download Hashlink.
  • Decompress the zip (in a fixed folder).
  • Run "lime setup hl" and follow the steps.
  • In the root game folder, now run "lime test hl".

And that's all.

Windows

In order to compile the game on Windows, you need to download Visual Studio Community 2019 (or Build Tools if you don't want the IDE).

Instead of installing any workload, go to the individual components and select the following options:

For x64 systems

  • MSVC v142 - VS 2019 C++ x64/x86 build tools
  • Windows 10 SDK (Latest)

For x86 systems

  • MSVC v140 - VS 2015 C++ Build Tools (v14.00)
  • Windows 10 SDK (Latest)

Later, simply use "lime test windows" in the root folder.

Linux

Ubuntu/Debian distros

$ sudo apt-get install g++ gcc-multilib g++-multilib    # Manual
$ lime setup linux                                      # Self-configured

Arch Linux

On Arch Linux, you first need to enable the multilib repository for the process to finish correctly.

Then, running "lime setup linux" should be enough (needs sudo).

In both, to finish simply use "lime test linux" in the root folder.