Closed Germanunkol closed 7 years ago
I have no performance issues yet. The first of the two points is much more important, I would say. Maybe it is enough to add a flag-argument to the level-load function and then generate one single sprite batch, if in game-mode? Hey, flag-arguments.
I'd just let the level load function poll the (global) mode the game is currently running in. That way we don't need an extra flag, the level load function should have access to that mode. So yes, this should be fairly straight forward...
Huh, I just noticed that point one is already implemented. I must be growing old...
Yeah, the age...
Two things should be done, which aren't working yet:
At the moment, these aren't important yet - for small levels there's no noticable speed drop (at least not for me). So this is important, but can be finished later. Agreed? Or is the game already slow on your end?