Yeah that's what I figured - curiosity just got the best of me. Thanks for the explanation Elisee!
carterza
8
Posts
1
Topics
1
Following
A member registered Jan 22, 2016
Recent community posts
Superpowers community » SUPERPOWERS — HTML5 2D+3D GAME MAKER » Superpowers Discussion · Created a new topic Extending from Actor
If I want to subclass Sup.Actor, how would I go about placing an instance of my subclass in a scene? Would I need to manually edit the scene file? Is this possible via the editor?
I don't have a strong case for doing so at this point - I'm pretty sure I can accomplish what I need to with a behavior. I was just curious. What got me thinking about doing this was the fact that the behavior class I was writing would not be reusable. I realize I'd be writing code either in one class or another either way - but the docu on the behavior page got me interested since it describes behaviors as being reusable (I understand they're the equivalent of a component in an ECS).
Thanks!
-Zach