–1 vote

For Example there are two nodes, one node performs an animation using frames, the other one observes the other node if it plays that frame and it will react. but my problem is, that I don`t know how to code or signal a frame... please help.. Im researching all over the Godot Docs,
YouTube, Google, EVEN BING!, even bing... and I found there is a Q&A in Godot so I asked the question here...

in Engine by (11 points)

1 Answer

+1 vote

first of all, you question is really vague, you should really try and make it simpler for people to answer, and dont ask from people to write a full script for you either, because its just not fair!

as for the question, if i understand correctly you can use signals.connect function, and the call method option in the animation player.
You can create a signal for each scene(or a signal with a variable to tell which scene), connect those signals to the functions which will response, and use the animation player call method to emit the signals(explanations on all you can find both in the Q&A and in the docs)

by (1,103 points)

I agree with this answe : first of all, you question is really vague, you should really try and make it simpler for people to answer, and dont ask from people to write a full script for you either, because its just not fair!

as for the question, if i understand correctly you can use signals.connect function, and the call method option in the animation player.
You can create a signal for each scene(or a signal with a variable to tell which scene), connect those signals to the functions which will response, and use the animation player call method to emit the signals(explanations on all you can find both in the Q&A and in the docs)

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.

Categories