Re: [pygame] Slow rendering speed - sprites

2015-03-07 Thread David Unric
extra CPU to render. > > When I use same-size filled rects of the same dimensions I get a little over > 200 fps. > > When you load your image, you might get better performance if you convert() > it or convert_alpha(). > > Hope this helps. > > Gumm > > > On 3/7

[pygame] Slow rendering speed - sprites

2015-03-07 Thread David Unric
Hello, I'm considering a game framework for next more serious project. As I'm Python/Ruby language agnostic, I did rewrote simple sprite benchmark from Gosu to latest Pygame to do a performance comparison. You may find the code bellow. I was very surprised Pygame version performs much more worse.