My game has 1600 events per frame. With two players, only half of them are active...I activate one group for each player. My code's a mess and I want to change some features...
Does it make sense to have groups of events to boost the performance or could I also have 1600 events in the frame without a worse performance although only a quarter of them are used (but MMF2 has to check them all again and again)?
And what about global events? It is really much work if I change or add something and have to do this in all of my 30 frames! Now a developer told me that his frames did not contain much code anyway and he used almost 2000 global events for his game.
Does this affect the performance?
There is a huge difference of course if you add something and do this just in the global events or you have to sit in front of the computer for a couple of hours to replace lines of code in 30 frames.