To me, global variables simplify many things so much. Like I often use variables to control the rotation of sprites in various animations, usually named Frame(some_num). For example, I would have this in my main loop:
And if those variables are not global, every time I call some sub where my sprites are animated and drawn, I need to create an extra parameter for them where I would pass Frame1 or Frame2. Now I ask you, what's the benefit of this?Frame1 = (Frame1 MOD 5) + 1
Frame2 = (Frame2 MOD 10) + 1
That's just one example. I don't know. I would just get a lot of unnecessary headaches and annoying value passing procedures only to get around the fact some variable was not declared globally. They are global, I see them everywhere. They are not, it’s like I’m blind on them and have to employ helpers guiding me toward them all the time.