{"repo":"rawsp33d/gdext-v","free":true,"listed":false,"github":"https://github.com/rawsp33d/gdext-v","clone":"git clone https://github.com/rawsp33d/gdext-v.git","description":"V bindings for Godot.","language":"V","stars":16,"topics":["gamedev","godot","v","vlang","gdextention","vlang-package"],"license":"MIT","category":"game-templates","readme_excerpt":"gdext-v V bindings for Godot. Examples Check out the demo repository for examples. Setup I (obviously) don't have a lot of docs yet and haven't spent time making this project user-friendly yet. But here are the steps that should get you started. These will definitely improve over time. Setup library 1. Clone/download this repo somewhere: 2. Point a symlink to it from V's module directory (or make this where you clone it): 3. Dump the extension API from Godot into ./data/ : 4. Run the generator: Setup project 1. Add a .gdextension file to your Godot project (I put mine at ./lib/v.gdextension ): 2. Make a V file in your Godot project that will serve as the entry point: Note: This is export , not to be confused with gd.export . This is V's built-in way of exporting to the C FFI. If you want your logs to go through Godot, you can set up the gd.Log . This is not necessary , and in fact I prefer it off, because for some reason if there is a crash Godot doesn't output any logs, whereas logging through V's default logger works great. Note that the default logger has a level of .info , so I like to lower it: log.set level(.debug) . 3. Add your files and register them in the init gd function as shown above. 4. Build the project: The patchelf step is to remove exec bit from the library, which is set by tcc . Thus if using another compiler (with the -cc flag) that step may be omitted. However, tcc is leaps and bounds faster than clang or gcc in my testing, so I recommend using it through","default_branch":null,"files":null,"tree":[],"storefront":"/r/rawsp33d","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rawsp33d/gdext-v/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}