Skip to content
Update Getting Started authored by Moritz Brückner's avatar Moritz Brückner
......@@ -6,7 +6,11 @@
# Install
## Git Version
Go into your project's library folder (If it doesn't exist, create one called `Libraries`) and open a command line. Then execute the following command and wait:
- *Kha*: Go into your project's library folder (if it doesn't exist, create one called `Libraries`) and open a command line.
- *Armory*: Go into your project's subproject folder (if it doesn't exist, create one called `Subprojects` (case dependent)) and open a command line.
Then execute the following command and wait:
```batch
git clone https://gitlab.com/koui/Koui.git
......@@ -87,20 +91,9 @@ class Main {
> There is no need to call a drawing function on each frame. Koui handles all of this for you!
# Armory3D
There is no need to add a entry to the `khafile.js`, Armory will pick it up automatically.
After installation, create a new text file in Blender's file editor and add the following line:
```javascript
await project.addProject("Libraries/Koui");
```
If your library folder is called differently, change the name in the `addProject()` call respectively.
> Adding Koui as a library with `project.addLibrary()` alone will not work because Koui's `khafile.js` has to be loaded too in order to work - `project.addLibrary()` does not do this.
After that, go to `Properties > Render > Armory Project > Modules` and set `Khafile` to the file you just created.
Then, add a new Haxe trait:
Add a new Haxe trait:
**Minimal Example Trait:**
......
......