Saturday 16 February 2008

Scripting and how your foot could be in danger!

I was talking to MatthiasM last night regarding scripting and why, as game engine creators, we feel the need to restrict what the scriptee can do.

There are alot of arguments for and against scripting, the main one being is scope in my opinion. How much scope should you give the scriptee ?

On one hand, you definitely do not want your game engine crashing or even blue screening your computer (which OpenGL calls could do!), but on the other, you do not want to restrict the user's imagination in what they can and can't do.

I for one hand am going with the "give enough power to the scriptee so they can shoot their own foot off". Yes, they can access File. Yes, they can access GL_* calls, but so what? who cares? If they do and their game crashes, whos to blame?

Let me know your opinion if you have one.

No comments: