This asset was made with GameMaker v2023.2 and may not run on older versions!
This asset aims to make adding trails to instances in your game as easy as calling a function, and works in one of two ways for maximum flexibility!
The first method uses "batching" and will draw all the trails for all instances in a SINGLE draw call, keeping the batch breaks to an absolute minimum and permitting you to apply effects or blend modes, without the extra GPU overhead. All that is required is a single controller object (supplied with the asset) and a single function!
The second method is a set of functions that can be added to ANY instance to create a unique trail for that instance. This doesn't use batching, but gives additional flexibility in how you apply trails in your project.
As always, the code is heavily commented so you can see exactly how it works and why I've done things the way I have. :)