- Home /
In-game scripting implementation
Hi guys, I'm making a game that teaches the basics of programming.
It would have a basic text editor and the player could write and run simple scripts. The scripts could also command a character in a 3d environment.
I'm writing code now that translates strings from the text editor and breaks it into functions, evaluates basic integer maths etc but I feel like I'm doing it the hard way.
If you guys wanted to implement a basic in-game scripting language how would you go about it?
I suggest you do some Googling. I just Googled, "unity3d scripts at runtime," and found many things that may or may not be helpfult to you:
Asset store package for a runtime scripting language
A free, simple C# interpreter that could be linked in
Reference to the Eval() function that allows Javascript to be executed at runtime.
And I know there were other posts on UA on the subject in the last year.
Your answer
Follow this Question
Related Questions
Unity Student Pro - Releasing game for free 2 Answers
Good practice to do a base extend of MonoBehaviour? 1 Answer
How do i make a one gun only Weapon system. (2D) 2 Answers
Read text file and search for a string 0 Answers
Acceleration script 2 Answers