4 ms·
I had a similar experience going through the Godot "Your first game" tutorial [1]. I have little experience with game engines, but attaching signals in GDScript
by correct_horse 7y ago
I had a similar experience going through the Godot "Your first game" tutorial [1]. I have little experience with game engines, but attaching signals in GDScript seemed like it required GUI interaction, then it was difficult for me to understand when the signal code actually was run.
[1] https://docs.godotengine.org/en/3.1/getting_started/step_by_step/your_first_game.html https://docs.godotengine.org/en/3.1/getting_started/step_by_...
- BlargMcLarg 7y agohttps://docs.godotengine.org/en/3.1/classes/class_object.html#method-descriptions https://docs.godotengine.org/en/3.1/classes/class_object.htm... Each Node has access to add_user_signal() for creating signals in code, connect() and disconnect() for subscribing to the signals, and emit() to emit a signal outside of Godot's predefined framework (along with other methods). Generally, anything you can do in Godot's editor can be done in code.