1
General / Re: FPS issue
« on: July 14, 2017, 02:41:30 pm »
Ok, I understand much better now. Thanks for helping a noob out guys!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
How do you draw those rectangles? sf::Sprite is too slow due to large amount of drawcalls, if you use it, you need to switch to sf::VertexArray, that way you should get decent FPS despite rendering multiple rectangles.I'm just drawing regular rectangleshapes. Just wondering, how is a vertex array a quicker option? I'm not familiar with it.