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

CLI Generator #101

Open
TheCherno opened this issue Apr 20, 2016 · 4 comments
Open

CLI Generator #101

TheCherno opened this issue Apr 20, 2016 · 4 comments
Assignees

Comments

@TheCherno
Copy link
Owner

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).

@TheCherno TheCherno self-assigned this Apr 20, 2016
@TheCherno TheCherno added this to the April 2016 Release milestone Apr 20, 2016
@TheCherno
Copy link
Owner Author

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.

@KevinW1998
Copy link

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

@csnewman
Copy link

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

@TheCherno
Copy link
Owner Author

Pushed to May 2016 release.

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

No branches or pull requests

3 participants