I'm developing the platform engine for my game.
I'm expanding the engine, so the code is becoming more and more complex. I often find many conditions within the same events, like in the example below.
Does such volume of conditions (in the same event) impact on the speed of the application? Many events in my application are structured this way.
If so, could grouping conditions be a possible solution to reduce the number of conditions? i.e. in the example screenshot, I could create another event which says that when GrabberUP = 0 + GrabberLEFT = 0 + GrabberRIGHT = 0 => GrabberGLOBAL = 1
Then I replace all three conditions with the last, global one GrabberGLOBAL = 1. Does it have sense?