aevum / libgdx-cpp

A cross platform (iOS, Android, Desktop) c++ port of java's libgdx awesome framework.
Apache License 2.0
172 stars 32 forks source link

emscripten #38

Closed ghost closed 9 years ago

ghost commented 11 years ago

More a question than an issue.

Do you guys know about emscripten, https://github.com/kripken/emscripten/wiki ? A C++ to JavaScript cross compiler.

Is it something you would consider as a potential backend for libgdx-cpp ?

Thanks

scooterman commented 11 years ago

Hi @tsug,

Yes, I'm familiar with emscripten. Do you mean using libgdx inside a web container? I'm planning to add a nacl backend to it, and I'm working on generating a Lua backend for it right now, which would enable a v8 backend too (as swig is capable of doing this, AFAIK). But sure, this can be useful too.

2013/3/12 tsug notifications@github.com

More a question than an issue.

Do you guys know about emscripten, https://github.com/kripken/emscripten/wiki ? A C++ to JavaScript cross compiler.

Is it something you would consider as a potential backend for libgdx-cpp ?

Thanks

— Reply to this email directly or view it on GitHubhttps://github.com/aevum/libgdx-cpp/issues/38 .

ghost commented 11 years ago

Hey @scooterman,

Indeed, I was thinking about web containers. I think (but I may be wrong) that it's the best option as of today to "port" games to a web container. You're mentioning nacl, but isn't it only available in Chrome/Chromium ?

I might give it a try with libgdx-cpp (emscripten), I'll keep you up to date if anything interesting results.

Thanks for your feedback

scooterman commented 11 years ago

Sorry for the delayed response,

cool! If you need something or some change to make this happen, feel free to reach me. It can be a nice addon and could be a great solution to a crazy engine-in-the-browser idea I have for a long time :)

The idea behind nacl is that the performance would be the same as the native, but if the emscriptem version runs ok it's nicer as we would have full browser support.

Regards

2013/3/13 tsug notifications@github.com

Hey @scooterman https://github.com/scooterman,

Indeed, I was thinking about web containers. I think (but I may be wrong) that it's the best option as of today to "port" games to a web container. You're mentioning nacl, but isn't it only available in Chrome/Chromium ?

I might give it a try with libgdx-cpp (emscripten), I'll keep you up to date if anything interesting results.

Thanks for your feedback

— Reply to this email directly or view it on GitHubhttps://github.com/aevum/libgdx-cpp/issues/38#issuecomment-14840994 .

pedroarroyo commented 9 years ago

Did anything ever come of this?

scooterman commented 9 years ago

Hey @pedroarroyo, I did make some progress but the project lost traction so I didn't finish it :disappointed:.

ghost commented 9 years ago

@scooterman please continue your work on libgdx-cpp.If it's possible please add a cmake build system because with the current one I have not managed to make it work on my Linux machine(Ubuntu 14.04)

scooterman commented 9 years ago

@Murii, what's happening with cmake? Please open a new issue so I can try to fix it for you