gdext-nim
Nim for GDExtension — a pure library and CLI tool.
Learn to create new extension classes inheriting from Godot classes in gdext-nim. Define Nim types, annotate with gdsync, and register them in your bootstrap file.
Configuration Options in config.nims for gdext Projects: Complete BuildSettings GuideMaster your gdext builds with config.nims. Learn how to configure extension metadata, target platforms, and CPU architectures for Godot projects.
How to Handle Godot Object Callbacks like `_ready` and `_process` in gdext-nimLearn to handle Godot callbacks like _ready and _process in gdext-nim by overriding virtual functions with the {.gdsync.} pragma. Integrate Nim with Godot seamlessly.
Understanding Static Events in gdext-nim: Compile-Time Initialization CallbacksLearn how to use static events in gdext-nim for compile-time initialization callbacks. Explore macros like execon and expandEvent for zero-overhead registration.
How the gdext-nim Internal Bridge Communicates Between Nim and Godot’s C++ APIUnderstand how the gdext-nim internal bridge connects Nim and Godot's C++ API. Discover its thin C-level translation layer and callbackTable for seamless integration.
How to Export gdext-nim Extensions to WebAssembly Using EmscriptenExport gdext nim extensions to WebAssembly efficiently. Configure Emscripten, compile with gdextwiz, and enable Godot HTML5 export settings for a seamless web integration.
Why Editor Plugins Are Not Fully Supported in Pure Nim (and Workarounds)Discover why pure Nim struggles with Godot editor plugins and explore essential workarounds. Learn how to bridge the gap and enhance your Godot development workflow.
How to Configure Debug, Release, and Editor Build Targets with gdextwizEasily configure debug, release, and editor build targets with gdextwiz using the -d:target flag. Generate optimized or editor-specific binaries for your Godot-Nim projects. Learn how to customize your builds efficiently.
How Extension Entry Point Initialization Works in gdext-nimDiscover how gdext-nim initializes its extension entry point. Learn how the init_library function bootstraps the Godot API and registers your custom code.
String vs StringName vs NodePath in gdext-nim: Key Differences and When to Use EachUnderstand String vs StringName vs NodePath in gdext-nim. Learn when to use each for efficient text handling, fast lookups, and scene tree navigation.
How to Use Typed Arrays versus Packed Arrays in gdext-nimLearn when to use typed arrays Array[T] versus Packed*Array in gdext-nim. Optimize performance with homogeneous primitive storage or flexible Variant collections.
How gdext Handles Memory Management and Reference Counting for Godot ObjectsLearn how gdext manages Godot object memory and reference counting. It delegates to Godot's engine, ensuring precise cleanup via Nim wrappers for efficient development.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →