Godot Version
Godot 4.4.1
Question
How do i do this??? (i want to do it to a singular scene which has multiple textures in it)
Hi,
I suppose you’re talking about that effect applied to character movement, or a dash or something, right?
Let’s call the fading sprites “ghosts”. Basically, here’s how you can do the effect:
1/ Record the position of the last spawned ghost.
2/ Every frame, check the character’s current position: if it is far enough from the last ghost position, then that means you have to spawn another ghost.
3/ Spawning a ghost means instantiating a new Sprite2D node on the fly, that will stay in place and fade out. You can do that with a tween.
4/ When creating a ghost, don’t forget to assign its values from the character’s current values (to mimic its sprite, scale, rotation etc.).
Let me know if that helps. Give it a try and feel free to ask if something doesn’t work.