TheCherno/Sparky

CLI Generator

TheCherno opened this issue · 4 comments

Sparky needs to have a C++/CLI generator, which is essentially a tool that wraps all of Sparky's exposed API into C++/CLI code, so that any API changes/additions to Sparky-core can automatically be accessed in C# after running the tool to generate the code.

This is particularly important for tools, as most large tools (such as the level editor) will be written in C#, and they need to access Sparky-core which is written in C++.

This will also theoretically allow applications for Sparky to be written in C# rather than C++, which will be great for prototyping and using Sparky for Sandbox-like purposes (or even making complete games, although they will be Windows-only).

I'll be working on this for the remainder of the month, and hopefully finish this for the April release. See the cligen branch for code.

Java bindings with JNI might be interesting too. Maybe this can be added in the future too.

With the use of mono shouldn't it be possible to write cross platform games in C#? (Like unity)

Pushed to May 2016 release.