Edit of asset "Scalable Vector Shapes 2D" Accepted
Old/Current | New/Edit | |
---|---|---|
Title | Scalable Vector Shapes 2D | |
Description |
Scalable Vector Shapes 2D lets you do 3 things: - Draw Crisp Vector Strokes, Fillls, Collisions and Navigation Polygons using a Path Editor inspired by the awesome Inkscape - Animate Curves of your Vector Shapes (useful for faces, whips, dents in cans) - Import .svg files as seamless Vector Shapes in stead of as raster images ⚠️Important: If you are updating* you may need to reload your project once for the plugin to work again, due to some renamed components. * The safest way to update this plugin is to: 1. Save and close all your open scenes 2. Disable the plugin via `Project > Project Settings > Plugins` 3. Close your project (quit to project list) 4. Download the stable zip from github: https://github.com/Teaching-myself-Godot/ez-curved-lines-2d/archive/refs/tags/2.17.1.zip 5. Fully replace `res://addons/curved-lines2d` with the same directory in the zip file 6. Open your project again and enable again via `Project > Project Settings > Plugins` 7. If you see errors, just click on: `Project > Reload Current Project` Spotted a bug? Help me fix it quickly by reporting it on github: https://github.com/Teaching-myself-Godot/ez-curved-lines-2d/issues # Changelog ## 2.17.1 ### Added - Flip buttons for your `ScalableVectorShape2D`'s path / primitives next to the uniform transform buttons - Use the new `ScalableVectorShape2D.glue_map` to assign a `Node2D` to a point in the `curve`. See also: https://github.com/Teaching-myself-Godot/ez-curved-lines-2d/blob/master/CHANGELOG.md |
Scalable Vector Shapes 2D lets you do 3 things: - Draw seamless vector shapes using a Path Editor inspired by the awesome Inkscape - Animate curves of your vector shapes (useful for faces, whips, dents in cans)* - Import .svg files as seamless vector shapes in stead of as raster images Just add a ScalableVectorShape2D to your scene and start adding points with Ctrl+click (make sure you are in edit mode by pressing `Q` first) *Important! You need to check the `Curve Settings > Update Curve at Runtime` checkbox to enable animated curves in your game Inspired by Mark Hedberg's great explainer: https://www.hedberggames.com/blog/rendering-curves-in-godot # Changelog ## 2.2.1 - 2025-05-28 ### Added - Adds easier to use forms for Stroke, Fill and Collision shape to the `ScalableVectorShape2D` inspector - Adds project settings for defaults like stroke width, stroke and fill colors, and paint order - Separates the point numbers from the hint labels - Saves project settings for enabling and disabling hints and viewport editing - Shows a preview of the shape which is about to be added via the bottom panel - Explanatory tooltips for all the fields and options that are not self-explanatory enough ## 2.1.3 - 2025-05-24 ### Added - Undo/Redo for strokes (`Line2D`) fills (`Polygon2D`) and collisions (`CollisionPolygon2D`) added with the `Generate` button in the inspector - After Undo of creating a new shape from the bottom panel, its parent node is automatically selected again - Resize a shape without using the `scale` property using `Shift+mousewheel`, for more pixel perfect alignment ### Changed - Fix: after adding point on line with double click, the correct point is removed again with undo - Fix: when a curve is closed, it stroke (the `Line2D` assigned to the `line`-property) is also closed and vice-versa - Fix: closing a shape now works by simply adding a segment between the last and first point ## 2.1.0 - 2025-05-21 ### Added - Use `Ctrl+click` to add points to a shape faster - Undo/Redo support for shapes from the bottom panel ### Changed - Shapes from the bottom panel are added as child of the selected node - When no node is selected, shapes from the bottom panel are added in the center of the viewport - Batched Undo/Redo for all mouse drag operations - Tooltip and ability to copy link with right click on `LinkButton` to external content ## 2.0.0 - 2025-05-19 ### Added - Custom node `ScalableVectorShape2D` introduced, enabling editing of its `Curve2D` using the mouse similar to the popular open source vector drawing program [Inkscape](https://inkscape.org/) - Add a circle, ellipse or rectangle from the bottom panel directly - Ability to Undo/Redo many drawing operations - A more comprehensive manual in the [README](./README.md) ### Changed - The custom node `DrawablePath2D` was deprecated in favor of `ScalableVectorShape2D` ## 1.3.0 - 2025-05-10 _Last stable release of EZ Curved Lines 2D_ This shipped 2 things: - An SVG file importer, which transforms shapes into native Godot nodes - The custom node `DrawablePath2D`, which extends from Godot's `Path2D` to use its built-in `Curve2D` editor |
Category | 2D Tools | |
License | MIT | |
Repository Provider | GitHub | |
Repository Url | https://github.com/Teaching-myself-Godot/ez-curved-lines-2d | |
Issues Url | https://github.com/Teaching-myself-Godot/ez-curved-lines-2d/issues | |
Godot version | Godot 4.4 | |
Version String | 2.17.1 | |
Download Commit | a7e9c798aa0da84edeb0de37775e8a8b8644f18c | |
Download Url (Computed) | https://github.com/Teaching-myself-Godot/ez-curved-lines-2d/archive/a7e9c798aa0da84edeb0de37775e8a8b8644f18c.zip | |
Icon Url |
https://raw.githubusercontent.com/Teaching-myself-Godot/ez-curved-lines-2d/refs/heads/master/Icon.png
![]() |
Preview Update | ||
---|---|---|
Type | video | |
Image/Video URL |
Notice: Undefined index: link in /var/www/asset-library.godotengine.org/public/templates/asset_edit.phtml on line 165 |
https://www.youtube.com/watch?feature=shared&v=q_NaZq1zZdY
|
Thumbnail |
https://raw.githubusercontent.com/Teaching-myself-Godot/ez-curved-lines-2d/master/addons/curved_lines_2d/screenshots/basic-drawing-youtube-thumnail.png
![]() |
https://raw.githubusercontent.com/Teaching-myself-Godot/ez-curved-lines-2d/refs/heads/master/addons/curved_lines_2d/screenshots/basic-drawing-youtube-thumnail.png
![]() |
Preview Insert | ||
---|---|---|
Type | video | |
Image/Video URL |
https://youtu.be/elWNu3-067A?feature=shared
|
|
Thumbnail |
https://raw.githubusercontent.com/Teaching-myself-Godot/ez-curved-lines-2d/master/addons/curved_lines_2d/screenshots/animating-youtube-thumbnail.png
![]() |
Preview Insert | ||
---|---|---|
Type | video | |
Image/Video URL |
https://youtu.be/nVCKVRBMnWU?feature=shared
|
|
Thumbnail |
https://raw.githubusercontent.com/Teaching-myself-Godot/ez-curved-lines-2d/refs/heads/master/addons/curved_lines_2d/screenshots/known-issues-youtube-thumbnail.png
![]() |