![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | graynk |
Hi
So I’ve just started learning Godot, walked through step-by-step tutorials and now I want to make a simple project - no win/lose states, no enemies. I just want to have a starry space with controllable Player model (by starry space I mean something like that old Windows XP screensaver, you probably know the one). The stars should shift when the player is moving left or right (creating a parallax effect) and they should smear into white lines, when the player “increases speed” (presses up, basically), creating the hyper-drive effect.
The starry sky part is pretty easy, I just spawn a bunch of particles without texture, give them initial velocity and it already looks nice enough.
(this is hard to see embedded, here’s a link to full image)
For the hyper-drive effect I would assume I have to look for something that will create a trail for each particle, but I can’t seem to find anything in the engine. Do I use shaders? Do I use a completely different approach entirely, abandoning particles? Do I switch to 3D? I found this, but I don’t understand how to use it. The trail divisor property does something close to what I want, but it also reduces the amount of particles for some reason? (UPD: I see now, it actually uses emitted particles to construct trails, so to make long trails with that I would have to crank up the number of emitted particles significantly and that’s still not enough)
This is how I want the space to look on high speed:
The only useful thing that I found was for Unity, sadly