Archived

This topic is now archived and is closed to further replies.

.NET as a scripting engine?

This topic is 5165 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Is it necessary in a .NET game project to create a scripting engine/language? It seems that with .NET assemblies being strongly named, and being able to access which external modules are being accessed by looking at the manifest that security is not so much of a problem. It already has late binding, so no re-compiling of the core game code is required. Has anyone used this technique, or can see any holes in it? Thanks Rael

Share this post


Link to post
Share on other sites
Just on-the-fly compile C#, VB.NET, JScript or J# source into an in-memory .dll and use reflection to call methods. I''ve done it, it''s massively quick and you''ve got all the power you would ever need (although you don''t get any shortcuts like with most scripting languages), and you get the most control.

Share this post


Link to post
Share on other sites