MBHaxe icon indicating copy to clipboard operation
MBHaxe copied to clipboard

is it possible to compile on linux?

Open darkralts opened this issue 8 months ago • 3 comments

and run with haxe instead of in the web browser?

darkralts avatar May 25 '25 22:05 darkralts

Check this PR out, https://github.com/RandomityGuy/MBHaxe/pull/46

Additionally, you will have to normalize a bunch of file names to lowercase, both in code as well as in the filesystem. For the code, search for all instances of ResourceLoader and you'll find all the file paths which you need to turn lowercase.

RandomityGuy avatar May 26 '25 04:05 RandomityGuy

To sum it up, you need to compile my fork of Hashlink with all the modified dependencies (see the CI scripts), then compile it with haxe to get the hl file, and then run it finally with hashlink using ./hl marblegame.hl

RandomityGuy avatar May 26 '25 04:05 RandomityGuy

Run using wine. It worked for me on Arch.

sawyerthemiller avatar Jun 16 '25 23:06 sawyerthemiller