SqAtx / SuperMarioWorld

An amazing 2D Mario game made with C++ and SFML
GNU General Public License v2.0
18 stars 11 forks source link

Optimization in GraphicsEngine #22

Open SqAtx opened 8 years ago

SqAtx commented 8 years ago

The game gets slow for no apparent reason.

First step to solve this: Stop redrawing the background and level structure at every frame (ie get rid of ResetSpritesToDraw())