I've been reading the article on Pygame Zero in issue 71, which describes how to make a very simple driving game. It works fine under Windows 7, taking about 40 seconds to win a game, but on my Raspberry Pi 2 the game gets slower and slower as it runs, taking about 114 seconds to win a game. Any idea how to fix it?
My Pi 2 is running Stretch and I updated everything that could be updated.
Oh... it occurred to me that the slowdown might be because there are an every-increasing number of images drawn (the barriers on the sides of the track), but I tried tweaking the code to only draw barriers that are on the screen. That didn't make much difference.