v2.0.0.0
·
2 commits
to main
since this release
Added:
- Enabled property, Set enabled action and Is enabled condition.
- Co-ordinate space and Distortion resolution are now editor properties.
- Auto-fit to line property, Set auto-fit to line action and Fit object to line action.
- Joins property and Set joins action: Simple, Miter (with limit and bevel fallback), Bevel and Round corners. End caps are None, Square or Round. EndCapStyle and JoinStyle expressions.
- 3D, following the Trail Renderer approach: Cross-section points property and action (3 or more points draw a tube), Add point with Z elevation, Set point to image point (including 3D shape faces), Set point to 3D model node, Set billboard camera (automatic or manual) and Set up vector actions, CrossSection expression. Absolute co-ordinate space now uses layout Z elevation; object-following actions read Z elevation and convert into the current space. Auto-fit also lowers the object's Z elevation to the lowest point and clears 3D rotation.
- Compare point count and Compare co-ordinate space conditions.
Changed:
- Reworked from a world plugin into a behavior for Sprite and Tiled Background objects.
- The line is drawn by driving the object's mesh distortion, so the object's image, animation frames, opacity, color, blend mode, effects and collisions apply directly.
- Addon id changed to salmanshh_line_renderer (installs alongside the old plugin; projects must be re-wired).
- Removed editor preview, blend mode, sampling mode, debug points and per-point color features: the object provides appearance, and Construct meshes have no per-vertex color.
- Removed the Texture tile length and Default width properties and actions: texture mapping and tile density come from the object (Tiled Backgrounds tile at their image size times Image scale, Sprites stretch their frame), and path actions use half the object's height as the line width.
- ACE names, display text, parameters and property text follow Construct conventions (Set {my} ... to, Z elevation, co-ordinates, texture scrolling, off-screen culling, Compare point count).
- Migration: replace each Line Renderer 2D object with a Tiled Background (or Sprite) carrying the Line Renderer behavior, paint the line image on that object, and re-add the point and path actions under the behavior.
Fixed:
- The stroke sampler and Smooth line skipped every interior point, so lines cut corners; every point is now passed through exactly.
- Removed the leftover sample ACEs that shipped in the plugin build.