modellking / DMX-UI

1 stars 0 forks source link

Engine Port #68

Open modellking opened 5 years ago

modellking commented 5 years ago

Godot anyone? Refactor has to happen so why not switch to a better engine and optimize towards low-spec machines Note everything lessons learned specific to the project or that step

modellking commented 5 years ago

(1) Since a lot of elements use a similar pattern (one or more Canvas, one 3D representation, adders for all), make this a pattern, which is similar across all implementations.

Something like:

Adder {
    Buttons[],
    Keycodes[],
    Add()
}
NAME {
    static (Controller3D<NAME>, Object) ProtoParent3D,
    static (Controller2D<NAME>, Object)[] ProtoParent2D,
    static Adder,
    static NAME[] All,

    Controller3D<NAME>[] Instances3D,
    Controller2D<NAME>[] Instances2D
}