Yes, I am aware that it is not the same. But it works for my applications, thou I could just use a regular variable I guess.
Anyway, I am working on Bezier curves and slopes. Inspired by this:http://gmc.yoyogames.com/index.php?showtopic=491339
He also had made a very great example to showcase the beauty.
Here is how it looks now in Enigma:http://www.host-a.net/u/harrikiri/curvesexample.zip
I haven't created any spline functions, just Bezier. When I get a good grasp on how splines work I will implement thous too. When everything's ready I will release the code.
Also, the number in the corner is the segment number. More segments mean smoother line, but of course, slower drawing. You can increase/decrease them with up and down arrows on your keyboard. Click to move it to the mouse.
edit: And btw, restarting LGM did fix it. I haven't added any new modifications. I changed everything I mentioned.