Support for creating classes #261
Labels
kind/enhancement
New feature or request
requires/documentation
Cannot be merged, requires documentation.
Milestone
Description
The idea is simple: Addition of creating classes and such within an orchestration, similarly to how, in GDScript, one can add the class_name [name here] at the top.
The reasoning behind why do this is mainly for ease of use in inheritance systems. Currently, there isn't an easy way (that i know of) to make an orchestration extend from another. Example,
Player.os inherits movement capabilities from: Entity.os
However, this can't be done at this moment right now.
Implementation ideas
In implementation, this could be solved by adding perhaps a bool for whether it's to be class or not, along with a necessary Class Name field, and this could be done in the script inspector for ease.
Doing this with nodes would be inefficient, I think, but if that's easier, then it works too.
Either way, thanks for reading this, good luck with the project.
The text was updated successfully, but these errors were encountered: