quote:Original post by emileej
I am making a scripting engine for games. Since I will not be doing all the scripting I would like to get some input from people interested in game development so that the scripting may be suited for them and the job they are doing. If youre gonna do something - why not do it good?
Without specifying what kind of game you want to use it for, I can''t give you a good answer.
If your answer is ''any game'', then I''d just say ''Python'' or ''Lua''. These are optimised languages for generic scripting and can do pretty much anything well.
If you have a particular type of game in mind, then my answer might change. For example, if it was purely for AI then I might want a language with inbuilt state-machines like UnrealScript. A language designed for scheduling periodical future events might require good multithreading with automatic synchronised access to data structures. It might also use generators to store state across subsequent calls instead of having to temporarily associate arbitrary data with the object.
Whether the scripter thinks it should be compiled to bytecode or not is irrelevant though. As the language developer, you need to decide whether that step is necessary or not.
[ MSVC Fixes | STL Docs | SDL | Game AI | Sockets | C++ Faq Lite | Boost
Asking Questions | Organising code files | My stuff | Tiny XML | STLPort]