Skip to content
Maverick Peppers edited this page Apr 21, 2018 · 17 revisions

1) Low FPS

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:

2) Shaders & Low FPS

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.

3) OpenAL crash

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.

Clone this wiki locally