Game scripting languages
Posted: Mon May 10, 2010 3:34 am
Hello all!
Currently in the game I am working on, I have a statemachine, rudimentary event system, the ability to read the parameters for createDevice() out of a config file, additionally a teammate added in code so that settings in the config file can be overriden by commandline operators and not much else... My game is aiming to be a 6DoF FPS similar to the Descent series. The series hasn't had any major improvements in several years, so my team is aiming to create a new game, perhaps not in name to avoid copyright issues...
On the side I've been using irrBullet to sort out physics. For testing I've basically torn one of the irrbullet examples apart and figured out how to make things work. Before I integrate physics into my game I want to get my attribute loader in place, to load physics values for objects and not have to hardcode values.
Starting with the beginning I've tried to plan out the structure of my game to the best of my ability to ensure that I reduce the number of times I have to tear out code to do it right. In fact, I ended up planning for five days before starting any code (not doing nothing but planning mind you...) This has gotten me to the current state of my game. I'm proud of the current state of my game, although my methods may not be the best in the world.
All of this talking has finally gotten us to my question! yay!
As I said, I've been planning everything and when I got to thinking about scripting I had to sit down and figure out what would possibly be using scripting, and this is what I came up with: Note Sheet [LARGE IMAGE]
Looking at this made be realize that I haven't got clue one as to where to start with scripting. I've heard of many languages, and I've seen many articles, but none have been the "general outlay" of how the scripting should best be laid out.
In addition, I've heard good things about languages line Angelscript, python, Lua, swig, but the best thread that I saw that talked about them was this one: http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=19356 and I'm concerned that it's outdated.
Are there any good resources for learning about scripting? Are certain languages better for certain types of scripting than others? Does anyone know of good examples of working game implementations of these languages?
Currently in the game I am working on, I have a statemachine, rudimentary event system, the ability to read the parameters for createDevice() out of a config file, additionally a teammate added in code so that settings in the config file can be overriden by commandline operators and not much else... My game is aiming to be a 6DoF FPS similar to the Descent series. The series hasn't had any major improvements in several years, so my team is aiming to create a new game, perhaps not in name to avoid copyright issues...
On the side I've been using irrBullet to sort out physics. For testing I've basically torn one of the irrbullet examples apart and figured out how to make things work. Before I integrate physics into my game I want to get my attribute loader in place, to load physics values for objects and not have to hardcode values.
Starting with the beginning I've tried to plan out the structure of my game to the best of my ability to ensure that I reduce the number of times I have to tear out code to do it right. In fact, I ended up planning for five days before starting any code (not doing nothing but planning mind you...) This has gotten me to the current state of my game. I'm proud of the current state of my game, although my methods may not be the best in the world.
All of this talking has finally gotten us to my question! yay!
As I said, I've been planning everything and when I got to thinking about scripting I had to sit down and figure out what would possibly be using scripting, and this is what I came up with: Note Sheet [LARGE IMAGE]
Looking at this made be realize that I haven't got clue one as to where to start with scripting. I've heard of many languages, and I've seen many articles, but none have been the "general outlay" of how the scripting should best be laid out.
In addition, I've heard good things about languages line Angelscript, python, Lua, swig, but the best thread that I saw that talked about them was this one: http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=19356 and I'm concerned that it's outdated.
Are there any good resources for learning about scripting? Are certain languages better for certain types of scripting than others? Does anyone know of good examples of working game implementations of these languages?