Advertisement

Attaching/Parsing Scripts Functionality

Started by February 03, 2012 02:28 AM
0 comments, last by Evan2009 12 years, 10 months ago
Hello everyone,

Recently I have started a project of making tools for a game project of mine. One of those tools is a level/object editor. I want to be able to add a new script to extend the behaviors of an object that is created within my tool. What I'm thinking is there needs to be a template for that object class. In that object template it will call the script that was added and parse through it, adding behaviors to that current object. The scripts would be in C#, similar to Unity. I'm new to this so I was hoping someone might be able to point me in the right direction for this type of functionality. Such as, examples with similar functionality or some websites/books. A few moments ago I found an open source project called CodeWorker, which is a code parser and source code generator. I'm reading through it right now to make sure it's something I can use. My tools are WinForms with XNA. Thank you for the help. smile.png
Just found something that could have been exactly what I was looking for. It is a C# interpreter that would help me extend my classes the way I was planning to (http://eco148-88394.innterhost.net/paxscriptnet/). But it looks like I'll have to purchase it in order to use it. Does anyone have any experience with paxScript or know of anything similar?

This topic is closed to new replies.

Advertisement