mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
A Haxe port of Marble Blast Gold, Platinum and Ultra with 99% identical physics and cross platform multiplayer, runs on Windows, Mac, Web and Android!
| data | ||
| src | ||
| .gitignore | ||
| compile-c.hxml | ||
| compile.bat | ||
| compile.hxml | ||
| marblegame.hl | ||
| README.md | ||
MBHaxe
A Haxe port of Marble Blast Gold, name subject to change. Its currently a WIP at the time of writing. The marble physics code was taken from OpenMBU along with my own collision detection code, game logic was partially from scratch and taken with permission from Marble Blast Web Port.
Build
Requires Haxe 4.2.2
You require the following Haxe libraries:
- heaps: 1.9.1 (not the git version) with https://github.com/HeapsIO/heaps/pull/573 applied
- hlsdl (You will have to update it manually by replacing the files after doing the below steps)
You also have to compile your own version of Hashlink with https://github.com/HaxeFoundation/hashlink/pull/444 applied
After all that has been setup, compile to hashlink by doing haxe compile.hxml and then running the game by hl marblegame.hl
To compile to C, use the instructions in https://gist.github.com/Yanrishatum/d69ed72e368e35b18cbfca726d81279a