Time to draw stationary sprites

This is a benchmark for testing how fast we can draw stationary sprites.

Here are screenshots from both the libraries:

../_images/draw_stationary_sprites.png

Screenshot from Arcade

../_images/draw_stationary_sprites1.png

Screenshot from Pygame

Important Notes:

The figure below graphs FPS vs. number of sprites. Once the FPS starts dropping much below 60 FPS, the users will notice the game slow down. Practically, the number of moving sprites should be kept above this drop-off number.

The results, of course, will vary depending on the computer that you run it on. You can run the benchmarks yourself to see how they perform on your computer. See How To Recreate The Results.

../_images/fps_comparison2.svg

Frames-Per-Second vs. number of stationary sprites

Instead of looking at a FPS, the time to draw the sprites:

../_images/time_to_draw_comparison1.svg