Skip to content
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

Sadly doesn't work for me #2

Open
Septias opened this issue Sep 14, 2020 · 6 comments
Open

Sadly doesn't work for me #2

Septias opened this issue Sep 14, 2020 · 6 comments

Comments

@Septias
Copy link

Septias commented Sep 14, 2020

I'm new to rust/Godot so I just wanted to try out some example projects, so I cloned your project, build it with cargo, and ran it on Godot 3.2.
The game loads fine, but I can't use the buttons to start the game :/
I get this error message:

E 0:00:36.928   emit_signal: Error calling method from signal 'pressed': 'Control(TitleScreen.gdns)::_on_newgame_pressed': Method not found..
  <C++-Quellcode>core/object.cpp:1260 @ emit_signal()
@paytonrules
Copy link
Owner

What that usually means is that the gdns file isn't wired properly to the corresponding class in the Rust code. Usually - because the name is wrong. This can happen if you rename a class in Rust and don't update the gdns resource. I'll take a look.

@paytonrules
Copy link
Owner

paytonrules commented Nov 14, 2020

Did you get any errors on build? I am currently running Godot 3.2.3, and was able to run it just fine on the latest godot-rust, and just for safety I cloned a clean version of the repo and it was all fine.

@Septias Septias closed this as completed Nov 30, 2020
@paytonrules
Copy link
Owner

@Septias Did you close this because you got it fixed? I'd still like to address it if possible.

@Septias
Copy link
Author

Septias commented Nov 30, 2020

No, I just closed it because I didn't look at it in the past. But since you're interested I'll try it tomorrow.

@Septias
Copy link
Author

Septias commented Dec 4, 2020

I pulled the newest version and rebuild it. Then I downloaded Godot 3.2.3 and opened the project.
When I click on any Button I get:
Error calling method from signal 'pressed': 'Control(TitleScreen.gdns)::_on_quitgame_pressed': Method not found..
I'm on windows 10.

@Septias Septias reopened this Dec 4, 2020
@paytonrules
Copy link
Owner

Ahhh Windows - I bet that's the problem. Maybe a path somewhere is backwards. I'm on a mac but I do occasionally use a VM for this kind of thing, I can give it a shot.

@Septias Septias closed this as completed Feb 20, 2022
@Septias Septias reopened this Feb 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants