- Edited
So this is about my flashing effect for invincibility.
Someone suggested to me to use AnimationPlayer to turn on and off the visibility.
It's just that I also have AnimatedSprite for explosion effect all across the parent node.
Either use only AnimatedSprite or AnimationPlayer + Sprite. That was how it works, wasn't it?
I tried using only AnimationPlayer + Sprite, but when changing texture, it's just gone.
So in the end, I have to use both. But personally, I don't think it's efficient.