-
-
Notifications
You must be signed in to change notification settings - Fork 200
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
Dodge the Creeps Example Needs Signals Connected #935
Dodge the Creeps Example Needs Signals Connected #935
Conversation
Hi, have you tested the example from the repo? These signals are connected in the scene, see: gdext/examples/dodge-the-creeps/godot/Main.tscn Lines 51 to 55 in 5e9b965
|
Hi Bromeon, I ran the example in Godot 4.3 and that seems to be the issue. When I migrate the project to 4.3 (since it says that it was last edited in 4.2), it nukes the connections that you showed above. My solution probably isn't the best way to go about this (since it's just a band-aid). To be clear, the steps I ran were:
Sorry for any confusion. |
I just tested with Godot 4.3 on Linux, and cannot reproduce this. Direct startLaunching from command line with I get some UID warnings (a known issue in Godot), but the game works as intended.
Direct start, fresh clone
So I'm not sure if this is related. Once I open the game in the editor once, things work. Open editorFrom command line with Editor opens with warnings, I open several scene files and re-save them. I don't get any migration dialog -- how do you get this? |
When
I ran the example for Dodge the Creeps in Godot 4.3, the 'start_game' signal was not connected to the function 'new_game' and the 'hit' signal was not connected to function 'game_over'.This is a simple fix that corrects the behavior from not running the new_game function and just making the start button disappear upon clicking it:
,
to having the game run properly (spawning enemies, etc):
.