Click here to Skip to main content
15,884,836 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi, I am attempting on making a simple game engine. So far I have most of the GUI down packed except for the coding part. Is there a way to allow users to script in C# while the program runs?


If you need an example here is a game engine with the function that I would more or less would like to achieve.

http://gamemakerblog.com/2009/12/22/game-maker-8-0-released/[^]

thanks,
Posted
Updated 15-Feb-12 14:05pm
v3

1 solution

yes,

look at this link
http://msdn.microsoft.com/en-us/library/system.codedom.compiler.codedomprovider.aspx[^]

or search for "c# codedomprovider" in google.
 
Share this answer
 
Comments
MR. AngelMendez 15-Feb-12 21:09pm    
wow, quite a lot of code to remember for me. Besides using scripting I'm going to try to implement a drag and drop code block function. Thanks for the help.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900