{"repo":"Nordsoft91/godot-composition","free":true,"listed":false,"github":"https://github.com/Nordsoft91/godot-composition","clone":"git clone https://github.com/Nordsoft91/godot-composition.git","description":"Component-based architecture for Godot. Allows to extend the functionality of a node.","language":"GDScript","stars":51,"topics":["godot","godot-addon","godot-addons","godot-plugin"],"license":"MIT","category":"game-templates","readme_excerpt":"Composition A component-based architecture for Godot. Allows to extend the functionality of a node. Features - Create components that extend the functionality of a node. - Easy creation and management of components from the editor. - Work with components as with regular nodes. - Components can be created as scenes or scripts. - Nested components and inheritance are supported. - Fully documented. Installation 1. Download the latest release from the releases page. 2. Extract the archive into your project's addons folder. 3. Enable the plugin in your project settings. To do this, open the project settings, go to the Plugins tab, and click the On button next to the Composition plugin. Composition vs inheritance Composition is a different approach to inheritance. It allows to extend the functionality of a node without modifying the node's code. Inheritance is a way to extend the functionality of a node by modifying the node's code. It is useful when you want to add new functionality to an existing node. Composition is a way to extend the functionality of a node by adding new nodes as children of the node. It is useful when you want to add new functionality to an existing node without modifying the node's code. Usage Creating a component Component scene You can create component scene by inheriting Component node. Select component node and press extend the script with your custom component script. Component script To define component, script must extends Component . The component wi","default_branch":null,"files":null,"tree":[],"storefront":"/r/Nordsoft91","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Nordsoft91/godot-composition/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}