How I deploy my libgdx project to HTML/JS using TeaVM

半世苍凉 提交于 2020-02-08 10:31:10

问题


I recently created a libGDX project using vis-runtime version 0.3.4. As due to long build times and requirement for separate runtime-gwt project, GWT support was dropped in 0.3.3 version of vis-runtime.

Maybe TeaVM can be used as web backend, so I am looking for integration of TeaVM with vis-runtime library ?

Take a look of this project (integration of libgdx with teaVM) that uses Maven as build system not Gradle.

Any help would be greatly appreciated.


回答1:


I created TeaVM backend for libGDX as a prototype. I have no time to maintain it and thought someone from libGDX community becomes interested and picks this project. No one did, so backend is not maintained anymore. You can ask question on libGDX community forums and may be you find someone who is interested in developing my prototype. From my side I can help with fixing bugs in TeaVM and telling how this or that thing works in TeaVM.

Regarding Gradle, there's no official support, bug 3rd party plugin is available: https://github.com/edibleday/teavm-gradle-plugin. You can examine source code and see that it's easy to write one. You can even write your own Gradle plugin if you are not satisfied with this one. However, I think that supporting Gradle is a little more complicated task than just wring Gradle plugin. For example, IDE integration is also needed (i.e. IDE must import and setup project from build.gradle).



来源:https://stackoverflow.com/questions/42466164/how-i-deploy-my-libgdx-project-to-html-js-using-teavm

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!