1
General / Re: How slow is window.draw() ?
« on: December 19, 2013, 08:19:18 pm »Just program your game and wait with optimizing until it is really needed.
I totally agree and that's what I was doing. It worked fine on a small map, and then came the big one, and I had 20 FPS for only 500-600 sprites displayed. I tried to profile it, it appeared that the window.draw() where taking away most of the FPS.
I checked my code, and I'm not doing something stupid like creating the sprites every update.
I'm out of ideas, and it seemed to me that something as simple as that shouldn't be so slow.
This is why I asked on this forum.