Open MSGhero opened 4 months ago
Maybe there isn't a single Proto and single every-subclass-of-Proto. Instead, maybe core classes similar to HaxeUI's Component for UI, some kind of sprite+anim thing, physics Body, etc which likely have a lot of overlap but otherwise are not related to each other
Or maybe more complex Protos have a reference to the simpler ones, instead of just extending them
Proto is an entity with stored references to its components. This violates the premise of ECS, but damn is it convenient as hell when you need to do things that are too broad to want to make a System for each time.
Ex:
onOver()
. What system could be created to do this that applies to more than only this scenario?Ex: