Page 1 of 1

Mussings on Python

Posted: Sat Dec 02, 2006 8:24 am
by Impaler
Howdy guys, I haven't been seen much on FO for the last year because I've been heavily into Civ4 moding, primarily C++. Its been fun and I polished my skills quite nicly but I've desided to move on to a new language which Civ4 introduced me too, Python. I'd only been rougly aquanted though intriged before, I'm now diving in head-first and using the Pygame library. It's realy quite amazing what you can do with.

I'll be hacking away for a few days now, devouring turorials, getting my syntax down and exploring the library. I'll try to create a MoO1 like clone initialy, I dont belive anyone will mind if I make use of the FO graphics and musics as their licensed under Share-alike. If I ever finish I'll license the code GPL as well.

Infact I'm so enthused I think we should consider going all python. I'd recomend that our core members go out and learn Python (thouse who dont already know it), it probably wouldn't take more then a month even if you have never programed before. A pure python game would be inherently cross platform, easier to develop and faster to develop because of the greater number of programers. For example in the time it takes to make a post and slap together a screen-shoot mockup for GUI change your proposing you could instead ACTUALY code it and post a real screen shoot and your code so others can try it out imediatly. Its also far more modable and modular. We could Pythonify most of the current of C++ code base into Python very rapidly so its not realy starting from scratch either.

What do people think?

Re: Mussings on Python

Posted: Sun Dec 03, 2006 8:00 am
by Geoff the Medio
Impaler wrote:We could Pythonify most of the current of C++ code base into Python very rapidly so its not realy starting from scratch either.
I'm skeptical you know what you're talking about.

If you want to write some Python code for FO, I suggest you consider taking over Yoghurt's Python AI integration stuff, and then write some Python AI's for FO.

Posted: Mon Dec 04, 2006 11:32 pm
by marhawkman
I could help with pseudo code.

Re: Mussings on Python

Posted: Wed May 09, 2007 7:30 pm
by MikkoM
Geoff the Medio wrote: If you want to write some Python code for FO, I suggest you consider taking over Yoghurt's Python AI integration stuff, and then write some Python AI's for FO.
Have we already passed Yoghurt's best before date? :cry: