NBase is a game framework/engine built on top of Heaps. Heaps is the engine behind cross-platform games like Dead Cells, Evoland, Northgard and Dune.
Introduction - Supported Platforms
You must have Haxe installed.
Install NBase:
haxelib install NBase
To make desktop apps get a release of HashLink. If you can't find Linux/Mac releases, check the latest release.
Put the release in a folder so that your project can find the executable. (See ".vscode/launch.json"
.)
Install hashlink dependencies:
haxelib install hlopenal
haxelib install hlsdl
haxelib install hldx
To create a project folder quickly, in your projects folder, use:
haxelib run nbase [ProjectName]
Compile your app using the corresponding haxe compile_X.hxml
. For example, use haxe compile_js.hxml
to build a javascript file, then launch "build/js/index.html"
.
Or you can run and debug directly from VS Code if your ".vscode/launch.json"
is correctly configured.