Skip to content

Commit

Permalink
Update Godot bindings generation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
SomeRanDev committed Dec 21, 2023
1 parent 45dc2d5 commit 3768734
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,14 @@ To do this:

Reflaxe/GDScript does not come with bindings to Godot types by default since the version of Godot is different for every person. However, generating the bindings is SUPER DUPER easy.

Simply run this command after installing this library:
First, install the [Haxe Godot Bindings Generator](https://github.com/SomeRanDev/Haxe-GodotBindingsGenerator) library:
```
haxelib run gdscript
haxelib git godot-api-generator https://github.com/SomeRanDev/Haxe-GodotBindingsGenerator
```

Next, run this command to generate:
```
haxe run godot-api-generator
```

This will generate all the Godot bindings as `.hx` Haxe source code files in a local folder named "godot".
Expand Down

0 comments on commit 3768734

Please sign in to comment.