i made a Google's Material Design inspired ripple button effect to make the menus in my game feel less boring, since you see them before the actual game.
my game overall relies on Godot 3.5 features,
and my ripple button effect relies on GradientTexture2D which is added in Godot 3.5,
so you need to download Godot 3.5 (RC 5, as of writing) to test my project that i attached below.
with more than 1 ripple button in the scene, i have unexpected behvior:
- the hover fade is always seen on the first button instead of the button i'm hovering over
- the touch ripple is always seen on all buttons instead of just the button i press
how can i fix my error? because i don't know where to find it.
or have i done everything right and the malfunction is because of an engine bug?
i tried randomizing the names of the HoverFade and TouchRipple rectangles before assigning the reference because i thought non-unique node names were the issue, but it's not since the result is the same as without randomized names.
since Godot Forums doesn't allow ZIP attachments yet, you can preview and download the Godot project on Google Drive.