MonoGame.SplineFlower 1.3.0 - Rotate, Scale, ScaleRotate, CenterTransform
By clicking and dragging the orange transform it’s possible to do this now:
-
Renamed ShowBezierSpline to ShowSpline.
-
Added ShowCenterTransform to make it possible to hide or show the transform in the center of the spline.
-
Only calculating the CenterTransform when necessary.
-
It’s now possible to programmatically create a spline by using the new constructor.
-
Added CenterTransformMode “None”. On this mode the whole spline can be moved by dragging the CenterSpline with the left mouse button.
-
Fixed that points which could be placed exactly at the start point (index 0) could resulting in wrong calculations.
-
After importing a spline the newly imported spline will be placed on the center of the screen.
-
Added NuGetRelease configuration so that if building in Release configuration, it wouldn’t result in compilation errors on the users end, because of the post build commands. @DexterZ
-
It’s now possible to change the CenterTransformMode (Rotate, Scale, ScaleRotate) in the Sample- and Editor project.
-
Fixed IndexOutOfRangeException when the CurrentTriggerIndex was -1 in the SplineWalker class.
-
Added additional NullReference checks for the splineControl and the splineControl.MySplineWalker. @DexterZ
-
It’s now possible to scale the whole spline by dragging the CenterSpline transform with the left mouse button.
-
It’s now possible to rotate and scale-rotate the whole spline.
-
Added public bool IsCenterSpline to check if a Transform is the center of the spline or not.
-
Renamed GetSplineCenter to CenterSpline.
-
Added checks to determine if a Transform is a point on a spline or the CenterTransform.
-
Removed LineControl sample and CurveControl sample from the project.
-
Extended GameSample to demonstrate new features.
The orange transform will always be in the center of the spline:
This update should improve MonoGame.SplineFlower by alot.
Hope you like it and make good use of it.
Cheers,
Marcel
PS: New NuGet packages online!