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
Installation
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
Quick start a project
To create a project folder quickly, in your projects folder, use:
haxelib run nbase [ProjectName]
Compilation
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.
Learn
| API Documentation | NBase Wiki | Heaps Wiki |
|---|
Follow & Support
| Patreon | Ko-fi |
|---|