Jump to content

Talk:Python Programming/Game Programming in Python

Page contents not supported in other languages.
Add topic
From Wikibooks, open books for an open world

Hi, i am looking for some programing ideas to enter in a computer science competition. i am currently using python. Any help!

Check out pygame


Removed incorrect and bias statement

[edit source]

I removed the line "However the Python binding is an afterthought so most often late versus the C++ engine when usable at all. Python bindings are very inefficient and limited.", because in Ogre's case, the bindings are actually dynamically generated, and as such, only require a minimal amount of maintenance to keep up to date. In fact, the python bindings are sometimes ahead of the official release version, and because they're dynamically generated, support nearly every one of Ogre's excellent third party modules.

In addition, because the engine itself is C++ and python simply controls it, in my own performance tests between Ogre's C++ demos and python demos, there is about a 6-10% performance hit when using python, which seems more than reasonable given the dramatic development time differences between python and C++. Couple that with the fact that, once your game/product is nearing completion, you can go back and rewrite heavy number-crunching methods (pythons main weak spot, performance-wise) in C++, as well as JIT compliers like Psyco (psyco.sourceforge.net), and you have an incredibly efficient way to develop a game or other 3d application.