From: Pete S. <pe...@sh...> - 2000-07-20 06:37:27
|
i'm getting the groundwork for my little game laid, and i'm at the point where i'd like to see what the performance is like for different people with different machines and OS's here is the link to my .ZIP file. unzip the contents, but be sure to maintain the miniature directory structure from inside. http://people.we.mediaone.net/shredwheat/scct.zip one you're ready to go, run the file "pretest3.py" this will run the psuedo-demo and report the FPS every 10 frames... you are free to look at the code. currently it is really messy, and far from optimized. i'm still in the "just do it" planning stages, so i've been trying many different things and code has been moving around frequently. one file that may be of interest to the outside world is the "eventhandler.py" this creates a simple class that calls a member method with the same name as any sdl events you pass to EventHandler.handle() (you can see an example on how to use it in pretest3.py) anyways, this is a pretty nifty class to have around, and i tried to make the code for this as clean and documented as can be for now. anyways, my main concern is to make sure that all the different platforms are running in the same performance ballpark. if you can try this out, and report your results i'd be really greatful. (also, try switching the SWSURFACE to HWSURFACE on line 12 to see if there's any difference) here's my stats, just to share Celeron-400, TNT2-Ultra, Win98 Hardware = empty:20.9 full:13.3 Software = empty:19.3 full:13.2 (also, some of the gfx are temporarily 'borrowed', so i wouldn't recommend using them for yourself too much) |