Posted 13 April 2002 - 05:56 AM
I''m looking at adding a scripting system to game I''m working on (in c++), but I''m not sure how to go about it. I''ll need to be able to run a several scripts at once, so it should be able to execute a few lines of each script every loop. Because of this, I want to try to avoid intepreted languages like python and use a basic vm with scripts that have been somewhat precompiled.
I''d prefer not to write it myself, so are there any existing systems out there, written in c++, that I could use? If there isn''t I guess I''ll take the flex/bison approach and write my own (following the various tutorials on the subject).