Once you have a functioning installation of Harfang for your language of choice:

Follow the following steps:

  1. Download the tutorials from Github here and unzip them to your computer (eg. in d:/tutorials-hg2).
  2. Download assetc for your platform from here to compile the tutorial resources.
  3. Drag and drop the tutorial resources folder on the assetc executable -OR- execute assetc passing it the path to the tutorial resources folder (eg. assetc d:/tutorials-hg2/resources).

assetc drag & drop

After the compilation process finishes, you will see a resources_compiled folder next to the tutorials resources folder.

You can now execute the tutorials from the folder you unzipped them to.

D:\tutorials-hg2>python draw_lines.py

Alternatively, you can open the tutorial folder using Visual Studio Code and use the provided debug targets to run the tutorials.

It is strongly advised that you read the next chapters of this documentation starting with Resources & Assets.