Godot Version
4.5.1
Question
I am working on a game where the enemy character leaves a permanent trail of letters behind them that, if the user-controlled character comes in contact with it, will end the game. Kind of like snake, except the trail is left anywhere the enemy character goes, and it stays there.
There is a cycle of letters that I want the trail to go through (think, “itiswhatitiswhatitiswhatitis…” etc.) so that a long, unending sentence will be behind wherever the enemy goes.
What’s the best way to go about this? Is it a texture attributed to a line2d node, or is it through particles? If anyone can point me to a resource on how to do this, or is down to write out the step by step, it would be greatly appreciated.
Follow up - how can I keep a permanent trail on the map without it making the game lag? When the trail gets long enough, things start to slow down.
Thanks! I’m obviously very new to godot, so help is appreciated.