Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I've seen a couple of these, namely Java and C#/XNA...and I've recently been picking up Python. Which kind of made me think.

What (famous) games have been written in Python, with Pygame/Pyglet/Pyopengl?

share|improve this question
    
CW is now a mod-only feature. Converted. Also consider flagging your post with that reason if you want us to get to it faster. –  Tetrad Oct 31 '10 at 12:43
    
Will do-thanks! –  The Communist Duck Oct 31 '10 at 13:15
2  
Huh... I thought he was just overlooking the box, but you're right, @Tetrad, wiki is now mod-only. Seems strange, why wouldn't they allow users to apply it themselves? –  Cyclops Oct 31 '10 at 13:23
4  
Missing in Action: the Wiki button. Apparently it was causing confusion and pain to users - next to go will be the Search button... –  Cyclops Oct 31 '10 at 17:31
    
Some games use Python for scripting. I heard Unreal is going to use Python, not sure if it is true, though. –  user712092 Aug 1 '11 at 12:37
add comment

closed as not constructive by Noctrine Oct 12 '12 at 20:06

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

5 Answers

up vote 14 down vote accepted

Eve Online is probably the biggest, and uses Stackless Python, a lightweight, microthreaded version of Python. And Civilization IV had a Python interpreter built-in, but I'm not sure if that was for scripting only, or how much of the game was written in it.

Also, Disney's Pirates of the Caribbean was written using the Panda3d game engine (which allows both Python and C++ scripting, but from googling it - Disney used Python). I don't think the engine is in Python, probably C++, but then again, the Python interpreter itself also uses a lot of C code. :)

For a long list of games:

which also covers a lot of well-known games, like Mount and Blade.

share|improve this answer
2  
The graphics engine for Eve is custom and written in C/C++, so by these requirements it wouldn't be "in Python". –  coderanger Oct 31 '10 at 18:13
6  
@coderanger, true - but the condition (famous game && pure Python) == null - so I dropped the pure condition, whereas you dropped the famous condition. :) (Unless Galcon is famous, but I suspect Eve Online is moreso). –  Cyclops Nov 1 '10 at 15:58
    
Actually only the client is in C++. –  Radomir Dopieralski Feb 28 '12 at 21:09
1  
@RadomirDopieralski Do you have a reference for that? I'd like to know for sure since you all disagree. Thanks. –  johnny Aug 11 '13 at 2:02
add comment

The original version of Galcon was in pure Python, though it has long since been ported to other languages (at last count there were Obj-C, Flash, and C++ versions). It does still use Python for AI via the TinyPy library, but I suppose that is "just scripting".

As a general comment, Python isn't really well suited for making a blazingly fast graphics engine. You get far more control writing the core, performance-sensitive code in C or C++ and then writing the complex game logic in Python. Python excels at the more logic related areas since its expressiveness is a productivity win over C and the drop in performance isn't an issue. This is why everyone (CCP, Panda3D, Unity, Civ4, etc) all work like this. The real question is does this count as being "in Python"? For example, in Eve everything related to the actual game (more or less) is in Python, the C++ part is just a generic game engine that handles pushing pixels and audio.

share|improve this answer
add comment

Frets on Fire (in addition to Galcon, which is not native Python anymore) is the only "native Python" game I can think of that achieved some degree of lasting fame.

share|improve this answer
add comment

Also, Battlefield Heroes, the cartoony version of battlefield (Handles most of the game logic)

And, BattleField 2 and 2142 (For logic and server controls)

http://wiki.python.org/moin/PythonGames

share|improve this answer
1  
Source? For why should DICE write a new game/engine in Python when they have good ones in C++ already? –  Psykocyber Aug 1 '11 at 13:24
1  
A link is good. –  The Communist Duck Aug 1 '11 at 15:45
    
wiki.python.org/moin/PythonGames It says on the page that Battlefield Heroes uses Python –  LizardGamer Aug 1 '11 at 23:56
1  
I downvoted you because you didn't provide any source or details. Now that you added that, I removed it. –  Tetrad Aug 2 '11 at 0:17
1  
Well maybe if you looked at the same link at the top, you wouldn't of given me downvotes like you usually do! –  LizardGamer Aug 2 '11 at 7:36
show 1 more comment

Disney's "Toontown" and "Pirates of the Carribean Online" use the Panda3D engine with Python scripting.

http://toontown.go.com/
http://piratesonline.go.com/welcome

http://panda3d.org/

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.