[C++-sig] Vega Strike uses boost::python

Daniel Horn danielhorn at mindspring.com
Fri Apr 2 10:40:05 CEST 2004


Vega Strike is the 3D Space Simulator that allows you to trade and
bounty hunt in a vast universe. Players face dangers, decisions, piracy,
and aliens...

Instead of going the hackneyed route of using Lua for game scripting,
Vega Strike (http://vegastrike.sourceforge.net/) 
has decided to base its scripting on python, using boost as the layer
between the class hierarchy in python and the class hierarchy in C++.
The result is a very flexible scripting system that treats units as
native python classes when designing missions or writing AI's.

A large economic and planetary simulation is currently being run in the
background in python and the results are returned back into C++ in the
form of various factions' spaceships appearing near worlds that they are
simulated to be near in python if the player is in the general
neighborhood.





More information about the Cplusplus-sig mailing list