<
>
 Thread (14 posts)
liddokun  6/08/07 12:53:44 AM

Rank: 29/100 Rank: 29/100 Rank: 29/100 Rank: 29/100 Rank: 29/100

Apprentice Member

Joined: 7/08/03
Posts: 1466

Does anyone know if Python is a good programming language to learn in making modern games ? I'm told the industry standard is C/C++. I've done a little bit of C/C++ programming before.
 
Chandos  6/08/07 1:01:40 AM

Rank: 1/100 Rank: 1/100 Rank: 1/100 Rank: 1/100 Rank: 1/100

Novice Member

Joined: 10/12/06
Posts: 28

The glass may be half empty but at least its beer!

I've never really been partial to python, to be honest I have not had much experience with it however you might want to take a look at Lua, which was used for Balders Gate, I think someone has written a multi-threaded version of python for Gaming software if you look around, its really just about exploring your options and finding whats right for you. C++ has been a standby for a long time, and is never a bad choice, I've heard of games programed entirely in a visual programing language, experiment and find out what you work best with.

Edit: Sorry this is so general I have not done a lot of programing in games, this is just intended as a general idea.
 
morbiddog  6/08/07 1:02:12 AM

Rank: 1/100 Rank: 1/100 Rank: 1/100 Rank: 1/100 Rank: 1/100

Novice Member

Joined: 4/22/07
Posts: 44

spelling and puncatution are for elngish casls not the inertent

i dont know if alone it is very good but since python has the ability to intigrate other codes in it if need be it might just be a good language plus it is easy to learn or at least not as hard as other languages
 
Vagelisp  6/08/07 7:29:04 AM

Rank: 70/100 Rank: 70/100 Rank: 70/100 Rank: 70/100 Rank: 70/100

Hard Core Member

Joined: 11/01/05
Posts: 262

http://www.eve-online.com/faq/faq_07.asp

"7.4 How is the game logic implemented in EVE?

EVE uses a special Stackless version of Python for both the server and the client. This makes for a much simpler creation of game logic than what was available in the past. The control structures provided by Stackless allow for a more “procedural syncronous” model, rather than an “event driven asynchronous,” or thread pooling.

In more simplified terms, this means that a large number of actors can perform tiny tasks without the added complexity or overhead of the other two execution models. Our game logic scripters are thereby freed from many of the mundane tasks associated with models that don’t benefit from the control structures provided by Stackless. The creative process of writing interesting game behavior is no longer bogged down by software or system limitations.

This approach also means that making changes to the game is much easier than it has been historically. Many improvements or tweaks can be added even when the world is online and going strong without the need to reboot the servers. This process is called a hot fix."

I don't know what python does as a 3D - sound programming language but it seems that for network and logic works fine. This Stackless version of python might fit your needs.

 
liddokun  6/08/07 8:04:21 AM

Rank: 29/100 Rank: 29/100 Rank: 29/100 Rank: 29/100 Rank: 29/100

Apprentice Member

Joined: 7/08/03
Posts: 1466

Python is a high level programming language much like Perl or Tcl but much simpler to learn (they say) without requiring overcomplicated procedures. Basically Python was designed so programmers can concentrate on the programming at hand instead of worrying about complicated syntax and stuff. It doesn't really have anything much to do with 3D graphics design (most people use Maya or 3D studios or Speed Tree for those) or sound. Thanks for answering.

P.S. Best thing about Python is that it's free to use and download. You don't have to pay royalty for your commercial products deriving from Python or any initial cost to get the compiler.

 
CaesarsGhost  6/08/07 8:21:20 AM

Rank: 75/100 Rank: 75/100 Rank: 75/100 Rank: 75/100 Rank: 75/100

Hard Core Member

Joined: 4/03/04
Posts: 1858

The only difference between a Troll and a Fanboi is which side of the fence they stand on.

If you know nothing about any programming then Python will be a good "get your feet wet" language.  If you know other languages you can pick up python in a weekend.

Great language to know overall though.  I'd never not reccomend Python.

- CaesarsGhost

Lead Gameplay and Gameworld Designer for a yet unnamed MMO Title.

liddokun  6/08/07 5:08:05 PM

Rank: 29/100 Rank: 29/100 Rank: 29/100 Rank: 29/100 Rank: 29/100

Apprentice Member

Joined: 7/08/03
Posts: 1466

I've started playing around with Python and the I.D.L.E. python shell. Is there a way to turn your .py programs into an executable file for Windows XP ? I've very interested in learning how to program in Direct X but I guess one step at a time.
 
elvenangel  6/08/07 5:18:53 PM

Rank: 35/100 Rank: 35/100 Rank: 35/100 Rank: 35/100 Rank: 35/100

Apprentice Member

Joined: 10/03/04
Posts: 2227

Why So Serious?

Originally posted by liddokun
I've started playing around with Python and the I.D.L.E. python shell. Is there a way to turn your .py programs into an executable file for Windows XP ? I've very interested in learning how to program in Direct X but I guess one step at a time.


You have to combine python with c/c++ or another visual language that'll compile into an exe through a programming interface like visual studio (I think, don't qoute me on that because i honestly got tired of trying to get python to compile properly with a C++ program and went to XML scripts instead).    As for Direct X I'm not all together sure how you can get it to work with Python.   I've only ever used DirectX in C++ windows (it has to be a windows app to use Direct X) programs.  

Python is really best for scripting engines for logic and networks ... for graphics programming I've always found it easier to stick with C++. 

 

aha i found something that might help you www.melbpc.org.au/pcupdate/2108/2108article9.htm

Please Refer to Doom Cat with all conspiracies & evil corporation complaints. He'll give you the simple explination of..WE"RE ALL DOOMED!

liddokun  6/08/07 5:48:57 PM

Rank: 29/100 Rank: 29/100 Rank: 29/100 Rank: 29/100 Rank: 29/100

Apprentice Member

Joined: 7/08/03
Posts: 1466

Thanks for the llink it's very helpful.  I learned of Freeze and Py2exe.

One of the reason I chose Python was because it's free. Other programming language IDE packages are insanely expensive. I know Microsoft has released a free version of Visual C++ Express but if you wanna take full advantage of the programming language.. you gotta shell out serious moolah...

 
liddokun  6/08/07 7:18:01 PM