Skip to content

Releases: SalmanShhh/C3Addon_Line-Renderer

v2.1.0.1

Choose a tag to compare

Changed:

  • icon updated to reflect that its a behavior, following similar colour scheme I have for my behaviour addons.

v2.1.0.0

Choose a tag to compare

Added:

  • Pin point to object and Pin points to objects: points follow instances (or one of their image points, including 3D shape faces) every tick, with a Once mode for a one-off move. Unpin point (-1 for all) and Is point pinned.
  • Setting or pinning a point past the end of the list grows the list, so per-IID loops work without setting the point count first.
  • Per-point width and height: a point's height is the line thickness there and its width is the texture width of the segment starting at it (0 automatic, a value fixes it so the image stretches with the segment). Set point size, Set size of all points, PointHeight, PointWidth and TextureLength.
  • With Auto-fit on, changing the object's height (editor, Set size, tween) scales the rope thickness to match.
  • Wave shapes (sine, triangle, sawtooth, reverse sawtooth, square) and negative wave periods to reverse direction.
  • Set line style (end caps, joins, cross-section points), Set facing (camera position or up vector) and Set performance (maximum drawn points, wave resolution, off-screen culling).

Changed:

  • Texture handling is left entirely to the host object. Construct clamps mesh texture co-ordinates to the object's own box, so Auto-fit now sizes the object as the unrolled rope (texture length by thickness at the line's centre). A Tiled Background tiles at its own image scale and scrolls with its own Set image offset; a Sprite stretches its frame. The Texture scroll speed property and actions were removed in favour of the host's image offset.
  • Defaults are now Absolute co-ordinate space with Auto-fit on, so a pinned rope resizes its object to cover the line out of the box; the initial ribbon is placed on the object in layout co-ordinates.
  • Properties Bar reduced to Initial point count, End caps, Facing, Auto-fit to line, Joins, Cross-section points and Enabled (always last). Co-ordinate space and the wave are runtime-only actions.
  • Distortion is now the Wave, described like the Sine behavior: Set wave takes magnitude in pixels, wavelength in pixels, period in seconds, movement (horizontal, vertical, both, across the line, Z elevation) and shape; Set wave magnitude animates it. Replaces the distortion amplitude, frequency, speed, axis and resolution ACEs.
  • ACE set consolidated to 23 actions, 7 conditions and 11 expressions: Add point, Insert point, Set point position and Set line take a Z elevation (the 3D variants are gone); Pin point to object absorbs Set point to object and Set point to image point; Pin points to objects absorbs Set points from objects; Set point size replaces the width, height, texture and rest-length actions; Set line between objects, Clear points, Fit object to line, the per-setting appearance and performance actions, Point exists, Is culled and the derived state expressions were removed.
  • Point width parameters are now heights (full line thickness, like the object height) instead of half-widths.

Fixed:

  • Host set-up no longer depends on the _postCreate hook (falls back to the first tick), an action run before the first tick is no longer overwritten by the default ribbon, and mesh API errors are reported to the console once instead of being swallowed.
  • Tiled Background textures no longer stretch their last pixel column past the object's own repeat count.

v2.0.0.0

Choose a tag to compare

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.

v1.1.0.0

Choose a tag to compare

salmanshh_line_renderer2D-1.1.0.0.c3addon

Version 1.1.0.0

v1.0.0.1

Choose a tag to compare

salmanshh_line_renderer2D-1.0.0.1.c3addon

Version 1.0.0.1

v1.0.0.0

Choose a tag to compare

salmanshh_line_renderer2D-1.0.0.0.c3addon

Version 1.0.0.0