运行时如何编码? C#
问题描述:
我正在尝试制作一个简单的游戏引擎.到目前为止,除编码部分外,我的大多数GUI都压缩了.有没有办法允许用户在程序运行时用C#编写脚本?
如果您需要一个示例,这里是一个游戏引擎,它具有我或多或少希望实现的功能.
http://gamemakerblog.com/2009/12/22/game-maker-8 -0-released/ [ ^ ]
谢谢,
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,
答
是的,
看这个链接
http://msdn.microsoft.com/en-us/library/system. codedom.compiler.codedomprovider.aspx [ ^ ]
或在Google中搜索"c#codedomprovider".
yes,
look at this link
http://msdn.microsoft.com/en-us/library/system.codedom.compiler.codedomprovider.aspx[^]
or search for "c# codedomprovider" in google.