-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Candidates for FAQ #8
Comments
(making a comment since i cant currently edit the issue directly)
Also a comment i made on discord about this list that im copying in here: I think it'd be useful for this issue to not only track candidates for a potential future FAQ, but also other frequently asked questions people actually have. then we can in the future discuss where to best document the questions, whether it be in the FAQ, the book, or the API-docs. |
Looking through current threads in
|
maybe not as relevant of a question, but i've ran into this issue a couple times, which i think would be useful to point as a common case:
as of now, my game i exported with a another issue is getting it to access the glibc provided by the OS. i've had a couple of linux build failing to recognize a package as the proper version required by the i think this question would cover a common enough case for the FAQ. |
possible to export as c# callable rust.dll? |
@GeorgeS2019 could you elaborate? |
Rust FFI (Foreign Function Interface)https://github.com/godot-rust/gdext/tree/master/godot-ffi If my understanding is correct, RUST is available as GDExtension. Is it possible to write RUST code to expose ported rust codes for c# consumption, e.g. |
GDExtensions can register custom classes and functions with the Godot engine, which then behave like built-in classes. So yes, they can also be invoked from C#. When it comes to dependencies and code generation, that's another topic though, see godot-rust/gdext#615. Regarding whether this can be in FAQ: yes 🙂 |
This comment was marked as spam.
This comment was marked as spam.
@GeorgeS2019 This is an issue regarding FAQ about the library itself, and not the place for advertising other projects. If your project is based on godot-rust, feel free to use our #showcase channel on Discord. |
It's not yet clear whether we'll have an FAQ section in the book and if yes, how we are going to structure it. One idea would be to have 100% of the information as part of the tutorial, and use the FAQ only to refer to different chapters and sections. This way, people reading the book from A-Z would not miss anything, and we don't have to duplicate content.
This issue tracks potential candidates for often-asked questions. Once more basic parts of the book are done, we can decide what to do with these. Very basic questions such as "how can I use
Gd
" or "how do I export an enum" should NOT be part of the FAQ, these should be covered in the tutorial.Questions, by category
Classes and objects
init
take parameters?T
from aGd<T>
?What do I do if one Rust class should be used by differently typed nodes in the tree?
GodotClass
?GDExtension entry point 'gdext_rust_init' not found in library
Typically indicates that
lib.rs
is not compiled, or the cdylib is created in a different path.Tooling
The text was updated successfully, but these errors were encountered: