Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
SomeRanDev committed Jun 12, 2024
2 parents 7f4b99f + 1870a83 commit 794ca5c
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func main():
| Topic | Description |
| ------------------------------------------------------------------------------- | -------------------------------------------------- |
| [Installation](#installation) | How to install and use this project. |
| [Adding `HxStaticVars.gd` to Autoload](#adding-hxstaticvarsgd-to-autoload) | Setting up the required autoload GDScript code. |
| [GDScript Output as a Plugin](#loading-your-gdscript-output-as-a-plugin) | How to load your code using the plugin workflow. |
| [Godot Bindings](#godot-bindings) | How to setup the Godot bindings. |
| [Goals](#goals) | The checklist for the goals of this project |

Expand Down Expand Up @@ -72,20 +72,6 @@ To enable the plugin, go to `Project (top-left) > Project Settings > Plugins (ta

 

# Adding "HxStaticVars.gd" to Autoload

This is NOT necessary if you're generating and using a plugin since the autoload is setup automatically.

Once you've generated your GDScript, you should see a GDScript file named `HxStaticVars.gd` in your output folder. For your code to work properly, you MUST add this as an "autoload" script in Godot.

To do this:
* Open your Godot project in the Godot editor
* Click: Project (top-left) > Project Settings > Autoload (tab)
* Next to "Path" input, select the folder icon and select your `HxStaticVars.gd` file
* Finall press "Add" on the right

 

# Godot Bindings

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.
Expand Down

0 comments on commit 794ca5c

Please sign in to comment.