I,m developing a framework to handle (cancel/destroy/stop/resume/etc) all timers/transitions/sounds/listeners, etc based on a module made by myself
The idea is to call, when we want, a timer/transition/sounds/listeners and register them into the respective handler.
Finally, when the object is activated/deactivated/destroyed we have all timers/transitions/sounds/listeners into the handlers and we can find out them by a unique key and do what we want.
This framework controls all object states, including variables creation/destroy, activation/deactivation, etc
It’s simple. With this, I dont have memory leaks and create new objects based on this framework is trivial
Any object is a group. With this we can create complex objects and perform rotation, hooks, etc on them as one.
My idea is to extend the framework to add more stuff to control scenes, etc
Thanks