Python game code
Neil Toronto
ntoronto at cs.byu.edu
Sat Nov 18 03:43:14 EST 2006
What sort of interest is there for an option to code the game (not the
engine) entirely in Python?
Advantages:
- MUCH easier to code - Python is brain-dead simple, so that even
artists without programming background could make simple changes
- Could provide hooks to run custom Python code from just about anywhere
(and mods could even inject their own hooks) - basically, you could mod
the game without replacing the game files, or run multiple mods
simultaneously
- Could run Python code directly from the console to debug
- Could create very complex game logic very easily
I know this is going to rub some C coders the wrong way - but at a
higher level of abstraction, where you don't have to think about
low-level operations like memory allocation and pointers, you can churn
out very complex stuff very quickly. Of course, there's a price:
Disadvantages:
- It's slower than C
I'm thinking of broader applications of the engine than just Quake 3 the
game.
Neil
More information about the quake3
mailing list