Scripting inside Unity gameplay (as a game feature)

Hi all,

I am very new to Unity programming but I have quite a bit of experience in the game and software programming field. I am looking to develop a game to encourage young people to program, a way I thought of doing this is to get them to program within the game (ie to control units). I looked into using IronPython but it seems Unity isn’t compatible with versions other than 2.0.

Has anyone managed to get the later versions working? I have seen some quite old posts explaining that at the moment (back in 2010) it isn’t possible.

The other part of my question is; Does anyone know any scripting languages that can be executed via code (stored in a string variable) inside C# whilst being compatible with Unity?

Thanks,

Alex

I think lua should work.

There is a lot of stuff on lua in c#.
And for coding beginners lua is perfect.

Maybe you should look into “Code Hero”… It isn’t released and the team are very slow and money spending, but may be worth looking?

Code Racer (online HTML stuff) may be another thing to look at but is not really a game.

Also for the programming perspective you will need to look into the “reflections” library which basically take strings and compiles it on run time to code.

Good Luck!