GithubHelp home page GithubHelp logo

Candidates for FAQ about book HOT 9 OPEN

godot-rust avatar godot-rust commented on August 23, 2024
Candidates for FAQ

from book.

Comments (9)

StatisMike avatar StatisMike commented on August 23, 2024 1

Looking through current threads in #help-gdext, some possible candidates, with possible links to some additional tooling available:

  • project setup (structure etc): as it is already described, possible link to scaffold-godot-rust
  • accessing base - its usage and caveats
  • why Rust-defined methods for custom GodotClass don't show up on Gd<T> - bind()/bind_mut() additional explanation
  • Rust-defined GodotClass not showing in Godot-Editor - possible reasons, especially the lack of init impl
  • is unit testing possible - especially explanation why the #[test] doesn't work with Godot types, possible link to gd-rehearse
  • #[func(gd_self)] applications
  • passing Gd with multi-threading - current workaround of passing InstanceID (though depends of how temporary this workaround would be needed, seeing the current work made in multi-threading)
  • Builtin GodotClass not showing up in gdext often they are caused by not enabling the experimental-godot-api feature
  • Optional parameter for method not showing up: *_ex methods

from book.

lilizoey avatar lilizoey commented on August 23, 2024

(making a comment since i cant currently edit the issue directly)
questions i have seen people ask:

  • How do i get a T from a Gd<T>

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.

from book.

Wilker-uwu avatar Wilker-uwu commented on August 23, 2024

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:

how do i make sure my exported game has access to the gdextension for release builds?

as of now, my game i exported with a .so or a .dll accompanying the executable. when people download my game from Itch.io or another place where they tend to get the game in a .zip file, they usually run the game without extracting it, and that has been causing a couple issues getting the game to work.

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 .so, and the game fails to run.

i think this question would cover a common enough case for the FAQ.

from book.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.