Edit of asset "Godot Traits" Accepted

Old/Current New/Edit
Title Godot Traits
Description Traits made easy in Godot 4

Godot Traits is an addon designed to bring traits into GDScript. A trait embodies a collection of behaviors (variables, functions, signals, etc.) that can be utilized to extend the functionalities of a class.

Given that Godot Engine lacks an official interface system, many developers resort to composition for combining various behaviors in a single class. However, implementing composition correctly can become complex and inconsistent. This addon's goal is to offer a streamlined and accessible approach for adding and removing behaviors from objects in Godot. This is achieved by defining trait classes and attaching them to objects, and using auto-generated utilities to use them.

Features:
- Trait declaration using annotation
- Auto-generated trait helper class to manipulate traits
- Scenes and nodes as traits,
- Strongly-typed traits and autocompletion
- Strong trait usage runtime checks
- Dynamic addition and removal of traits
- Automatic trait dependencies injection
- Traits inheritance
Traits made easy in Godot 4

Godot Traits is an addon designed to bring traits into GDScript. A trait embodies a collection of behaviors (variables, functions, signals, etc.) that can be utilized to extend the functionalities of a class.

Given that Godot Engine lacks an official interface system, many developers resort to composition for combining various behaviors in a single class. However, implementing composition correctly can become complex and inconsistent. This addon's goal is to offer a streamlined and accessible approach for adding and removing behaviors from objects in Godot. This is achieved by defining trait classes and attaching them to objects, and using auto-generated utilities to use them.

Features:
- Trait declaration using annotation
- Auto-generated trait helper class to manipulate traits
- Strongly-typed traits and autocompletion
- Strong trait usage runtime checks
- Dynamic addition and removal of traits
- Automatic trait dependencies injection
- Traits inheritance
Category Scripts
License MIT
Repository Provider GitHub
Repository Url https://github.com/AdrienQuillet/godot-traits
Issues Url https://github.com/AdrienQuillet/godot-traits/issues
Godot version Godot 4.2
Version String 0.5.0 0.3.0
Download Commit f34c1a854045f0945c5997478165cc83400a095c 693d5390b32ea600664db6f3dd91cd37fb0fc848
Download Url (Computed) https://github.com/AdrienQuillet/godot-traits/archive/f34c1a854045f0945c5997478165cc83400a095c.zip https://github.com/AdrienQuillet/godot-traits/archive/693d5390b32ea600664db6f3dd91cd37fb0fc848.zip
Icon Url https://raw.githubusercontent.com/AdrienQuillet/godot-traits/8c2d52a05ed3b8a534db9f963367cdfe93115770/addons/godot-traits/documentation/assets/addon-icon.png
Preview Insert
Type image
Image/Video URL https://raw.githubusercontent.com/AdrienQuillet/godot-traits/0.3.0/addons/godot-traits/documentation/assets/gtraits_not_a_trait_error.png
Thumbnail https://raw.githubusercontent.com/AdrienQuillet/godot-traits/0.3.0/addons/godot-traits/documentation/assets/gtraits_not_a_trait_error.png
Preview Update
Type image
Image/Video URL https://raw.githubusercontent.com/AdrienQuillet/godot-traits/0.3.0/addons/godot-traits/documentation/assets/gtraits_code_navigation.gif
Thumbnail https://raw.githubusercontent.com/AdrienQuillet/godot-traits/0.3.0/addons/godot-traits/documentation/assets/gtraits_code_navigation.gif
Preview Update
Type image
Image/Video URL https://raw.githubusercontent.com/AdrienQuillet/godot-traits/0.3.0/addons/godot-traits/documentation/assets/gtraits_code_completion.png
Thumbnail https://raw.githubusercontent.com/AdrienQuillet/godot-traits/0.3.0/addons/godot-traits/documentation/assets/gtraits_code_completion.png
Preview Update
Type image
Image/Video URL https://raw.githubusercontent.com/AdrienQuillet/godot-traits/0.3.0/addons/godot-traits/documentation/assets/gtraits_assertion_error_not_moveable.png
Thumbnail https://raw.githubusercontent.com/AdrienQuillet/godot-traits/0.3.0/addons/godot-traits/documentation/assets/gtraits_assertion_error_not_moveable.png
Preview Insert
Type image
Image/Video URL https://raw.githubusercontent.com/AdrienQuillet/godot-traits/0.3.0/addons/godot-traits/documentation/assets/gtraits_cyclic_dep_detection.png
Thumbnail https://raw.githubusercontent.com/AdrienQuillet/godot-traits/0.3.0/addons/godot-traits/documentation/assets/gtraits_cyclic_dep_detection.png