Trails for rockets, bullets, flamethrowers, etc

There should be something where no matter how fast you go, the trail would not have any space. (Think of a bullet that goes really fast and you want to see where it goes.)
Should have a few functions and notes.
trails should not do anything else. not even emitting
The sprite should be one object.
They should also have fade or size feature. and how fast it will disappear.
thanks!

I’m pretty sure you could code this using just math and other stuff, but I’m not great at Flowlab so I’m not sure.

If you have an enemy that’s aiming a projectile at you, you could use a small red object and stretch it’s Y size to a large number while keeping the X size the same or vice versa.

Then have it attach to the enemy, the object pointing at you to display a laser guide or warning to the player, then remove the object when the enemy fires the projectile.

There’s several ways of actually doing this in code already. I can see how this would be helpful for beginners, but considering this mechanic isn’t used much except for more experienced game developer projects since it’s kind of specific, I don’t know if it will be added since there are ways of making this.

You could look up examples such as a Line example or grappling hook example and it’ll show you how you can expand and stretch a single object into a thin line and determine it’s positioning.

2 Likes

lol, same. i know how to use everything except expressions lol

can i see how you use it?

Actually expressions are just calculators

1 Like

oh yeah. thanks, :nerd_face: (lol)

1 Like