Hello everybody ! Since the new features available and futures ones, I've renamed the object (VectorialCurve) to VectorialShape.
A lot of new features are now available !
Bugs corrected :
- Possible crash with SetFirstPointPosition and SetLastPointPosition.
Changes :
- All presets in the menu have been renamed
- Preset "link" has been renamed to "Link auto"
- Menus reorganizations
- Action "Set point position" : now you can enter a negative ID to add point(s) at the start like you can do with positive values greatest than the total number of points.
New features :
- New preset : Link horizontal
- New preset : Link vertical
- New preset : Circle
- New preset : Ellipse 1 point (center)
- New preset : Ellipse 2 points (top left+bottom right)
- New preset : Regular poly
- New expression : get Nearest Point ID from coordinates
- New action : Insert a point before another
- New action : Delete X last points
- New action : Delete X first points
- New action : Set number of points
- New action : Set collision on/off (to disable fine collision detection)
- New expression : Get fill mode
- New expression : Get fill color (by color number 1-based)
- New expression : Get fill alpha (by color number 1-based)
- Support of solid fill
- Support of motif fill
- Support of linear gradient fill
Optimizations :
- none
Examples :
- Updated example with main presets
- New example : Basic Solar system
- New example : Draw
- New example : Vectorial selection (it's a little game where you should enclose a maximum of same fishes to have points)
Known bugs :
- Some glitches are drawn with very small angles and an outline thickness greater than 1
- Some glitches appear when the rotation of the linear gradient is at 360° (don't know if I can do anything against that)
- MMF2 Crash if a function with parameters is called after the object has been destroyed. It's an MMF2 bug.
In the future :
- Support the texture fill
- Support the shape fill
- Maybe support the points color for shape fill mode- New action : Set point position to an object
- Filled options if closed state ON
- Your ideas...