Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

Complex Shape Creation

An asset by 9thAzure
The page banner background of a mountain and forest
Complex Shape Creation thumbnail image
Complex Shape Creation thumbnail image
Complex Shape Creation hero image

Quick Information

0 ratings
Complex Shape Creation icon image
9thAzure
Complex Shape Creation

An addon for the Godot Engine which adds several functions for creating and modifying shapes, and a few nodes that uses those functions for creating visuals or for creating collision shapes.These functions and nodes are written in GDScript to make them universally compatible. They are exposed to C# via wrapper classes in the `ComplexShapeCreation` namespace.--- Nodes ---Currently, there are 4 nodes:- RegularPolygon2D < 'Polygon2D' - General purpose node for drawing shapes. - SimplePolygon2D < 'Node2D' - counterpart to RegularPolygon2D that only draws simpler shapes.- StarPolygon2D < 'Polygon2D' - Version of RegularPolygon2D for drawing stars.- RegularCollisionPolygon2D < 'CollisionShape2D' - Node for creating both regular and star collision shapes.--- Functions ---Currently, functions used for creating shapes are split across the multiple nodes added. Most of them are in RegularPolygon2D.Some exceptions are:- a simplified version of 'get_shape_vertices' is in SimplePolygon2D.- 'widen_polyline' and 'widen_multiline' are in RegularCollisionPolygon2D.- 'get_star_vertices' is in StarPolygon2D.The 'get_*' functions create shapes and returns a new 'PackedVector2Array'. All other functions modify the array passed in as the argument.

Supported Engine Version
4.2
Version String
2.1.1
License Version
MIT
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL

An addon for the Godot Engine which adds several functions for creating and modifying shapes, and a few nodes that uses those functions for creating visuals or for creating collision shapes.

These functions and nodes are written in GDScript to make them universally compatible. They are exposed to C# via wrapper classes in the `ComplexShapeCreation` namespace.


--- Nodes ---

Currently, there are 4 nodes:
- RegularPolygon2D < 'Polygon2D' - General purpose node for drawing shapes.
- SimplePolygon2D < 'Node2D' - counterpart to RegularPolygon2D that only draws simpler shapes.
- StarPolygon2D < 'Polygon2D' - Version of RegularPolygon2D for drawing stars.
- RegularCollisionPolygon2D < 'CollisionShape2D' - Node for creating both regular and star collision shapes.


--- Functions ---

Currently, functions used for creating shapes are split across the multiple nodes added. Most of them are in RegularPolygon2D.

Some exceptions are:
- a simplified version of 'get_shape_vertices' is in SimplePolygon2D.
- 'widen_polyline' and 'widen_multiline' are in RegularCollisionPolygon2D.
- 'get_star_vertices' is in StarPolygon2D.

The 'get_*' functions create shapes and returns a new 'PackedVector2Array'. All other functions modify the array passed in as the argument.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Complex Shape Creation icon image
9thAzure
Complex Shape Creation

An addon for the Godot Engine which adds several functions for creating and modifying shapes, and a few nodes that uses those functions for creating visuals or for creating collision shapes.These functions and nodes are written in GDScript to make them universally compatible. They are exposed to C# via wrapper classes in the `ComplexShapeCreation` namespace.--- Nodes ---Currently, there are 4 nodes:- RegularPolygon2D < 'Polygon2D' - General purpose node for drawing shapes. - SimplePolygon2D < 'Node2D' - counterpart to RegularPolygon2D that only draws simpler shapes.- StarPolygon2D < 'Polygon2D' - Version of RegularPolygon2D for drawing stars.- RegularCollisionPolygon2D < 'CollisionShape2D' - Node for creating both regular and star collision shapes.--- Functions ---Currently, functions used for creating shapes are split across the multiple nodes added. Most of them are in RegularPolygon2D.Some exceptions are:- a simplified version of 'get_shape_vertices' is in SimplePolygon2D.- 'widen_polyline' and 'widen_multiline' are in RegularCollisionPolygon2D.- 'get_star_vertices' is in StarPolygon2D.The 'get_*' functions create shapes and returns a new 'PackedVector2Array'. All other functions modify the array passed in as the argument.

Supported Engine Version
4.2
Version String
2.1.1
License Version
MIT
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers