Skip to content

How to build a game?

Łukasz edited this page Dec 27, 2020 · 3 revisions

1. Get Dart!

Get Dart from official link: https://dart.dev/get-dart and install this.

2. Clone project!

Do clone. It is not difficult.

3. Build project!

Windows:

Run on PowerShell:

dart2native .\main.dart -o <path>.exe

or run on CMD:

dart2native main.dart -o <path>.exe

Linux:

Run on Terminal:

dart2native ./main.dart -o <path>

4. Launch game!

On Windows or on Linux open game file from path in Terminal or CMD or PowerShell.

Clone this wiki locally