I have objects who will have the same behavior. How can I use those objects to create common behavior? I researched and saw that objects can have common events marked as families but I did not see anything related to behaviors.
Develop games in your browser. Powerful, performant & highly capable.
What exactly are you trying to do? I have an idea of how to help but being more specific could help a lot.
Like, I'm not sure if these are entirely separate objects or instances of the same one, such as multiple enemies of the same type.
So the objects are alphabets A to Z. Each object will have sine behavior. Is there a way I can assign that behavior to all of them?
Put the behaviour on the Family, and then with all objects in the family, they get that behaviour.
Thank you just what I was looking for. So dumb of me I did not see it