-
Notifications
You must be signed in to change notification settings - Fork 45
Known Bugs
Latest changes to the animation system has slowed the game down drastically. I'm not familiar with thor. Best look at latest Thor docs and find out where the choke is.
See my original references:
It's known that created a new sf::RenderTarget
creates an entirely new GL context that is costly on resources and cpu cycles. Our render pipeline in the Engine
class creates a new target per shader-bound sprite. Optimization is needed to create 1 render target (the final screen image) and order the sprites by their shader, bake each shader into the target, and finally output that to the screen. This ensures every shader is loaded, computed, and drawn once and on only one render target.
SFML loads the AL device context most of the time. On the rare chance it crashes and no music or sound is played. This does not affect the rest of the game. The cause is unknown.