Python suitable for a game engine?

Mordy Ovits movits at lockstar.com
Thu Jul 1 11:13:11 EDT 1999


Alan Daniels wrote:
> 
> I'm working on a Quake-style game engine, where my goal is to give it
> a fully integrated editor, similar to the excellent ones in Starcraft
> and Unreal. I'm planning on doing this by giving the game and the
> editor as much back-end code in common as possible.

The game Extreme Warfare was a realtime 3D videogame that used Python as its
scripting language for AI and game logic.  Take a good look at it.

Does this project of yours have a homepage I could look at?

Mordy
-- 
o Mordy Ovits
o Cryptographic Engineer
o LockStar Inc.
---------------------------------------------------------------------------
#!/usr/local/bin/python 
from sys import*;from string import*;a=argv;[s,p,q]=filter(lambda x:x[:1]!=
'-',a);d='-d'in a;e,n=atol(p,16),atol(q,16);l=(len(q)+1)/2;o,inb=l-d,l-1+d
while s:s=stdin.read(inb);s and map(stdout.write,map(lambda i,b=pow(reduce(
lambda x,y:(x<<8L)+y,map(ord,s)),e,n):chr(b>>8*i&255),range(o-1,-1,-1)))




More information about the Python-list mailing list