Excalibur
Excalibur copied to clipboard
Change "priority" on System to be a static member
Context
This would make it much easier to specify a system to run before/after another system.
class SomeSystem extends ex.System {
static priority = ex.MotionSystem.priority - 1
}
I support this, you thinking like this?
This would definitely be a breaking change for anyone that's implemented a custom system
Yup, exactly.
It appears you can actually have both an instance and static member of the same name (TIL), if we wanted to avoid the breaking change.
This issue hasn't had any recent activity lately and is being marked as stale automatically.