Does changing Nesting of rules have an effect...?
Going through and re writing a few games from scratch again, I came across a "logic nesting" habit I do and wanted to clarify if another way is more efficient.
Here is an example. By placing a Touch Condition with other attributes conditions.
I notice that I have about 30-40 conditions I sometimes need to check so is it better to wait until a Touch is registered.
I am not sure I understand how GS works with scanning code,
I assume nesting all the rules in the Touch rule means they wont be scanning until touch is pressed. Or is it more efficient to have the other conditions be scanning and match, so that when the final condition (touch) is met, the response is quick.
My concern that I start nesting rules, I wont have 1000 of conditions being scanned all the time? It doesn't have to be just related to touch. Any attribute condition.