Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider an embedded scripting language for much of the game behavior. #6

Open
tobz opened this issue Feb 10, 2014 · 1 comment
Open

Comments

@tobz
Copy link
Owner

tobz commented Feb 10, 2014

Game behavior will involve lots of math and tweaking and fiddling with. This portion of the code, I'd say, makes much more sense being done in a lighted language like JavaScript or Lua.

This will also open the door for customization and run-time fixes for certain portions of game behavior since we could be recompiling these scripts at runtime. That's pretty significant, and it'd be good to try and get a feel for our options before we start to lay out these game mechanics in code.

@tobz
Copy link
Owner Author

tobz commented Feb 10, 2014

We should look at http://github.com/stevedonovan/luar if we wanted to go with Lua. There's a project for V8 bindings by mattn but I'm not sure it has the level of support for shuttling native Go objects that we need. I'll have to take a closer look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant