Ok, ideally I would be able to write some hScript code like:
hScript:String = "
function moveLeft()
{
// Handle player moving left
}
function moveRight()
{
// Handle player moving right
}
";
And then from within my Haxe be able to call
hscript.interp().moveLeft();
I can't seem to figure out how to make it work. It would be SUPER useful
instead of having to write a separate script for each function...
Original issue reported on code.google.com by robertsh...@gmail.com on 27 Jun 2014 at 4:08
Original issue reported on code.google.com by
robertsh...@gmail.com
on 27 Jun 2014 at 4:08