RE: [GD-Windows] C# scripting
Brought to you by:
vexxed72
From: Tom M. <tm...@wi...> - 2004-05-19 18:37:05
|
The upcoming update for the DirectX SDK includes a sample showing this exact functionality.=20 -----Original Message----- From: gam...@li... [mailto:gam...@li...] On Behalf Of Mitch Walker Sent: Wednesday, May 19, 2004 9:48 AM To: gam...@li... Subject: RE: [GD-Windows] C# scripting You can also use the CLR to host code. You create a new AppDomain and run the code inside of this. You can apply permissions to this AppDomain, so, for example, the code inside it has "ExecuteOnly" permissions (Can't do IO, Sockets, etc). There are compiler APIs as well so you can compile the code that you want to host on the fly. This would allow you to keep all of your scripts in file format, compile them on start up and possibly detect changes and reload when applicable. If you are writing managed code and need scripting type functionality, I would definitely take a look at this option. -Mitch -----Original Message----- From: gam...@li... [mailto:gam...@li...] On Behalf Of Lewin, Gareth Sent: Wednesday, May 19, 2004 9:27 AM To: gam...@li... Subject: RE: [GD-Windows] C# scripting Well, C# supports the microsoft scripting host stuff out of the box AFAIK, so Javascript, VBScript etc should 'just work' _________________________________________ Gareth Lewin - http://www.garethlewin.com "Facts are useless. You can use facts to prove anything that's even remotely true. Facts shmacts!" -- Homer Jay Simpson. -----Original Message----- From: Brett Bibby [mailto:res...@ga...] Sent: Tuesday, May 18, 2004 11:47 PM To: Gam...@li... Subject: [GD-Windows] C# scripting Howdy. Does anybody know if there are any scripting languages that directly support embedding into C#? At this point speed is not a requirement, just doing some research. I know I can glue something like Lua into it, but since it's unmanaged code it would be ugly. Thanks, Brett ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=3Dick _______________________________________________ Gamedevlists-windows mailing list Gam...@li... https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows Archives: http://sourceforge.net/mailarchive/forum.php?forum_idU5 ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=3Dick _______________________________________________ Gamedevlists-windows mailing list Gam...@li... https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows Archives: http://sourceforge.net/mailarchive/forum.php?forum_idU5 ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=3Dick _______________________________________________ Gamedevlists-windows mailing list Gam...@li... https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows Archives: http://sourceforge.net/mailarchive/forum.php?forum_idU5 |