5 ms·
Is there any idea of what kind of performance a game framework like this gets on various platforms? I've been curious about PyGame for a long time, but it alwa
by mtrpcic 11y ago
Is there any idea of what kind of performance a game framework like this gets on various platforms? I've been curious about PyGame for a long time, but it always felt like it wasn't capable enough for even a moderate indie game. I'd love to see some benchmarks (how big can maps be? How much memory does the average map size take? How many animations can happen on one map at once before things slow down? etc.). I've made game engines as toy projects in the past, and this looks super interesting. Thanks for sharing!
- lillian-lemmer 11y agoDon't worry, there will be the inevitable benchmarks, graphs, etc. :) Benchmarking is definitely an important component. The demo actually filled with animations (the water) and I have a color palette cycling animation generator which runs at tilesheet load, and just considering the way the system is built to use subsurfaces of a master tilesheet, and to use cached animations (so that tile x becomes animated when referred to), I don't think I'm too worried. So, so far so good! It runs on my computer pretty well: http://www.microcenter.com/product/429997/vivopc_vm40b_desktop_computer http://www.microcenter.com/product/429997/vivopc_vm40b_deskt... I should really try making an absurdly detailed and animated, large map. :) Thank you for some really awesome questions! I'd love it if you were to tinker with it yourself. :) I'm really glad you got a kick out of it. Thank you for your time and thoughtful questions. EDIT: Oh, just to clear something up, you know that Pygame is a Python wrapper SDL plus some other low level libraries, right? http://www.pygame.org/wiki/about http://www.pygame.org/wiki/about reads: "Uses optimized C, and Assembly code for core functions. C code is often 10-20 times faster than python code, and assembly code can easily be 100x or more times faster than python code."