Search code examples
javascriptluatclinterpreterscripting-language

Which ingame scripting language should I support?


The ingame script will control NPC/AI logic.

If I were to implement ingame scripting feature which language should it support?

Keep in mind my implementation will run on multiple platforms like .net, flash, javascript and java.

What are the pro's and con's of the listed possibilities? How long will it take to implement the interpreter?

What features are ingame scripters looking for? What are other games implementing?

I am thinking to vote for javascript due to the fact that everybody can read and write it.

What are your thoughts?


Solution

  • I'd use Lua, because it's terribly easy to embed. Embedding Python appeared to be complicated and I haven't really pursued that.

    This link may be of further use if you want to know more about embedding Lua and its advantages/disadvantages.