0 votes

Trying to create transition animations on button press using global script (through this tutorial), but this error comes up. I think it has something to do with the node layout in the code but not quite sure what. Any advice would be much appreciated!

Transition CanvasLayer code
PlayButton Code

in Engine by (29 points)

Hello,
newb myself in godot, I use animations and modulate for my transitions, but don't you have to get_node("transition") to start it?

Btw, how do you have that transition node with your animation?

Do you mean just replacing getnode("AnimationPlayer").play("fade") with getnode("transition").play("fade")?

It doesn't seem to work, perhaps the tutorial is outdated

Btw, how do you have that transition node with your animation?

I'm not quite sure what you mean by this, do you mean the renamed CanvasLayer or the transition animation in AnimationPlayer?

1 Answer

+1 vote

Sry, my bad, thought it was a node... :s

by (321 points)
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.