Gerrit Holl wrote:
when i'm benchmarking, i find it helpful to set a constant "seed" for the random numbers. this way you get the same results every time the game runs. just add a "random.seed(1)" somewhere early in your code.but when I run the game normally I get 10-50 fps at this resolution non-scrolling, dependant on the number of sprites in the neighbourhood
psyco is a sort of just-in-time compiler for python code. it is very easy to make use of in your application (just pick which functions you want the extra compiling for). it usually makes a noticeable difference on games, but your mileage will definitely vary.My game, Brian, is not tile oriented, so this discussion won't help me much. I don't know exactly what psyco is, but I will have a look at it.