SUGESTION::
what I mean by this is to have a way to disable the "hidden" update logic, without...
disabling the event triggering... the only way I know how to disable HIDDEN update is by
deactivating instances (instance_deactivate) but this disables everything events included.
I just wanted to deactivate the logic...
Okay you may say that the hidden update logic is what triggers the events xD and I'm aware of that...
but it would be great to separate the "hidden variable update logic" from the "hidden event logic"...
and make it possible to disable the "hidden variable update logic".
for example: I have a parent/children structure built within instances so parent calls the respective event on their children.. (update event/draw event). I this need because I want to control the draw order and also because this way I can have different refresh rates for update and for draw. As I'm talking about a GUI implementation I don't need to update [x, y, image_index] every frame. I would like to be able to control when it gets updated...
I also know I can create different variables x_pos, y_pos... and update them the way I like but then again the "Hidden update" overhead is still there.
ANOTHER THING::
I don't know if when compiling, GMS2 removes the hidden event logic check for objects that have no code in that specific event. (what I mean is that an object with no "mouse_click" code would not compile that event check (this would make the hidden update logic much lighter). IF IT DOESN'T I think an option on the object to disable specific (not needed) events would be awesome.
NOTE: I'm aware this could not be done at run time.. as an object with a disabled event would not even check for that event.
(and I think this would even help solve the issue/request regarding update with delta time, people could disable the hidden variable update an make one manually, once again without deactivating the instance and loosing the events triggering)
what I mean by this is to have a way to disable the "hidden" update logic, without...
disabling the event triggering... the only way I know how to disable HIDDEN update is by
deactivating instances (instance_deactivate) but this disables everything events included.
I just wanted to deactivate the logic...
Okay you may say that the hidden update logic is what triggers the events xD and I'm aware of that...
but it would be great to separate the "hidden variable update logic" from the "hidden event logic"...
and make it possible to disable the "hidden variable update logic".
for example: I have a parent/children structure built within instances so parent calls the respective event on their children.. (update event/draw event). I this need because I want to control the draw order and also because this way I can have different refresh rates for update and for draw. As I'm talking about a GUI implementation I don't need to update [x, y, image_index] every frame. I would like to be able to control when it gets updated...
I also know I can create different variables x_pos, y_pos... and update them the way I like but then again the "Hidden update" overhead is still there.
ANOTHER THING::
I don't know if when compiling, GMS2 removes the hidden event logic check for objects that have no code in that specific event. (what I mean is that an object with no "mouse_click" code would not compile that event check (this would make the hidden update logic much lighter). IF IT DOESN'T I think an option on the object to disable specific (not needed) events would be awesome.
NOTE: I'm aware this could not be done at run time.. as an object with a disabled event would not even check for that event.
(and I think this would even help solve the issue/request regarding update with delta time, people could disable the hidden variable update an make one manually, once again without deactivating the instance and loosing the events triggering)