Scripting for a C#, multiplayer game
Posted
by
Vaughan Hilts
on Game Development
See other posts from Game Development
or by Vaughan Hilts
Published on 2012-12-07T20:40:28Z
Indexed on
2012/12/07
23:44 UTC
Read the original article
Hit count: 362
I have a multiplayer game written in C# and we've recently been creating a lot of content but have been looking for a way to give our entities customization logic that the designers can hook into. I took a look at this post. With something like this in mind (using C# as a scripting language); I have a few questions.
1) Would one embed the script itself in the entity object before persisting to it to the disk? Is this okay?
2) Would I compile once per scripting then - this seems like a lot of overhead to store all these compiled Assemblies to execute.
Any general advice on how to do thigns is welcome, too. These entities are generated on the fly inside the editor and could be composed of a lot of different things.
© Game Development or respective owner