+1 vote

Hi,

I want to change or show other sprite dynamically, i try erase the first sprite to show sprite behind but it slow everything down, example what i want to make:
Example what i want to make

Exists any method to make that with Godot ?
If yes, how ?
Thanks in advance!

in Engine by (13 points)

1 Answer

0 votes

You need to learn shaders for that. Rectangle can have shader, that will change the colour of everything behind it. It is one of the easiest shaders to make, and still there is a lot to learn for this.

by (2,352 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.