Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# Game scripting WinForm
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 15-Feb-12 13:38pm
Edited 15-Feb-12 15:05pm
v3

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

yes,
 
look at this link
http://msdn.microsoft.com/en-us/library/system.codedom.compiler.codedomprovider.aspx[^]
 
or search for "c# codedomprovider" in google.
  Permalink  
Comments
angelllll at 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)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 9,580
1 OriginalGriff 8,370
2 Peter Leow 4,859
3 Kornfeld Eliyahu Peter 3,210
4 Maciej Los 2,301


Advertise | Privacy | Mobile
Web04 | 2.8.150327.1 | Last Updated 15 Feb 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100