godot-cpp
godot-cpp copied to clipboard
C++ bindings for the Godot script API
There are two questions I would like to ask: 1. When the gdnative script function parameters have default values, the functions that gdscript calls it must all be assigned values,...
This PR fixes #585 by adding a generic version of PackedScene instance. To test this, here is a commit that modifies the new Dodge the Creeps with GDNative C++ to...
After export game or run it from editor by HTML5 button, I see this error: index.js:362 ERROR: Can't open dynamic library: bin/javascript64/TinyRTSGDNative.wasm. Error: Could not load dynamic lib: TinyRTSGDNative.wasm index.js:362...
I am using the command "scons platform=windows generate_bindings=yes use_mingw=yes" with no success. This is what the cmd prompt looks like when I run that command:  I am using Python...
---- **TL;DW:** It would be useful/nice to have: * A `godot-cpp`-specific version `#define` or similar that could be used to conditionally include different code when building with different branches, especially...
``` $ make -j4 [ 0%] Bindings [ 1%] Building CXX object godot-cpp/CMakeFiles/godot-cpp.dir/src/core/AABB.cpp.obj [ 1%] Building CXX object godot-cpp/CMakeFiles/godot-cpp.dir/src/core/Basis.cpp.obj [ 1%] Building CXX object godot-cpp/CMakeFiles/godot-cpp.dir/src/core/Array.cpp.obj [ 1%] Building CXX object...
Hello, when trying to call `ArrayMesh::add_surface_from_arrays` from gdnative, I get a crash. Doing the exact same call from GDscript (with the array computed by gdnative) works well. ## My setup...
Currently, the documentation written in README.md mentions that this repository can be added as a submodule and then built into a static library. It also mentions that this library can...
### Godot version v4.0.dev.custom_build [ed5267f69] ### System information Manjaro 21 KDE, 1950x threadripper, 1080 TI, Vulkan, 16GB Memory ### Issue description My problem isn't really an error more or less...
(Using godot-cpp 1cbf121 and Godot 4 0393057e36e486b2944e6166e6572327944b2fa7, also tested with 4.0-alpha3.) I'm trying to register a class that inherits from `VisualInstance3D`, but it doesn't show up in the "Create.." dialog....