Giter Site home page Giter Site logo

Comments (6)

pcting avatar pcting commented on May 21, 2024 1

@mrwormhole any updates? maybe something i can help with?

from godot-go.

pcting avatar pcting commented on May 21, 2024 1

@pcting make build works, make test works without crash.

hurray! thanks for confirming that someone besides me has successfully run the code 👍

ci_gen_test_project_files crashes and I can still see example.go is screaming about unsatisfied interface methods. How can I implement the new methods so that example.go doesn't yell at me for being invalid?

What IDE are you using? Intellij? i'll look into why the interface isn't being satisfied. I'm using vscode and I don't think I've seen that issue.

do we have an estimate around officially Godot's 4.0 stabilization so that we can do a roadmap from there? godot 4.0 is on beta right? it would be really good if they pushed out RC so that no breaking changes would happen and we would put some time on making the dev ex more Go idiomatic.

i think once godot 4 goes to RC, we'll see the interface stabilize. it'll definitely be nice of the godot team to stabilize the interface, but I imagine they have more important things to deal with.

--

my goal overall goal:

  • reach feature parity with godot-cpp.
  • design godot-go so that users are writing pretty much idiomatic go.

right now i'm working towards implementing a real world demo app to find gaps in the current API. i'll see if i can get a build out sooner than later.

from godot-go.

mrwormhole avatar mrwormhole commented on May 21, 2024

make ci_gen_test_project_files gives this error from the latest (could this be possible breaking change from the mainstream?)
image

image

from godot-go.

pcting avatar pcting commented on May 21, 2024

it looks like godot isn't loading the compiled native shared library file. you need at minimum this file:

godot-go$ cat test/demo/.godot/extension_list.cfg 
res://example.gdextension

this cfg file tells godot to load that extension file. try running this:

$ make ci_gen_test_project_files

it might crash depending on your environment, but it doesn't matter as long as the files are generated. then run the tests

$ make test

from godot-go.

mrwormhole avatar mrwormhole commented on May 21, 2024

@pcting make build works, make test works without crash.

ci_gen_test_project_files crashes and I can still see example.go is screaming about unsatisfied interface methods. How can I implement the new methods so that example.go doesn't yell at me for being invalid? do we have an estimate around officialy Godot's 4.0 stabilization so that we can do a roadmap from there? godot 4.0 is on beta right? it would be really good if they pushed out RC so that no breaking changes would happen and we would put some time on making the dev ex more Go idiomatic.

godot-rust guys are not even touching gdextension integration for the moment(I guess it is because of being flaky), I guess there are lots of breaking changes from gdnative to gdextension. Would you be still maintaining gdnative API for anything below 4.0?

because if we satisfy new GDClass interface, we will be breaking gdnative's GDClass interface as I see from here

from godot-go.

mrwormhole avatar mrwormhole commented on May 21, 2024

yes I am using intelliJ based IDE, it is quite odd that it is getting compiled if interface is not being satisfied, there is probably wrong in my setup then

from godot-go.

Related Issues (20)

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.