Original Post
After playing with different game engines and their scripting, I have been wondering how these scripts are implemented. I have looked around online and have noticed that they all have the same thing in common. The script code is compiled into a byte-code and then executed by the game. My question is how are these byte-codes used by the game? Do they write an interpreter inside the game? is it ran by a complex, jumbled mess of if-then statements? Could anyone point me in a direction to research this? thanks