scriptorum / flaxen

Haxe game engine with entity component system
MIT License
26 stars 2 forks source link

Transitional and mode system overhaul #21

Open scriptorum opened 9 years ago

scriptorum commented 9 years ago

Note on Flaxen.removeTransitionedEntities: I like this idea, but I don't like how it's implemented.

scriptorum commented 9 years ago

Also note on setNode: Be able to specify matching and excluding kinds here.

scriptorum commented 9 years ago

I really need to rethink modes and handlers and transitional entities. Ideally it would support nested states as well as replacement states, the handler would be notified of changes so new entities can be created, the handler can receive parameters to dictate variations in its setup, and entities will transition automatically.

Further this should be a simplified process. Right now you can add Transitional components to all entities by eschewing newEntity and using newSetEntity with component sets that have the Transitional pre-loaded into the set. Would like this to all work cleaner.

scriptorum commented 9 years ago

I ken spelz.