These scripts let you generate arcs with any number of control points. Examples inside.
Recommended that you use the YYC. Should work on any platform (only using draw_line() functions, no external dlls or anything like that).
Requires lots of processing. Works best with YYC. In the hair example, I could get 60fps on my machine using the YYC with 256+ individual "hairs." On the normal windows compiler (soon to be deprecated) I could only achieve 10 fps. Lots and lots of math. Please keep this in mind.
Example of it in action: https://www.youtube.com/watch?v=_o8gfRw29YM
UPDATE: Now supports drawing under the curve (with configurable colors, transparency, and even quality of the line!).
*Can now color under the curve/line. *Can set quality and other properties such as colors for lines.
Version 1.2.0. Published February 6, 2015
Created with GameMaker: Studio v1.4.1522
You can only review assets you've bought.
A very good script for getting curved lines
It works perfectly and good for getting curved movements. Only thing I wished was if there was a script to get the gradient at a certain point on the curve.
Performance hit but looks great, and free!
This review was left for a previous version of this asset.
There is a LOT of math going on; so if you absolutely need to draw literally dozens to hundreds of these lines at once on screen - always use the YYC, YoYoCompiler. Otherwise, you're going to have a bad time.
For just drawing one or a couple of these lines, the performance hit shouldn't be a big deal.