如何添加libgdx对现有项目 [英] How to add libgdx to existing project
问题描述
我提供在具有导航抽屉机器人作了aplication并在其具有的游戏列表。我要创建另一场比赛,并把它放在那里。由我必须使用libGDX创建具有游戏,但原来的应用程序没有使用这个库。
I have provided an aplication made in android that has a navigation drawer and in it has a list of games. I have to create another game and to put it there. The game that has to be created by my must use libGDX but the original application didn't use this library.
是否有可能做到这一点?如果是,我怎么能在libgdx添加到退出项目。在Github上我发现只有如何下手libGDx,新项目的不是如何将其添加到exising code。谢谢。
Is it possible to do this ? If Yes, how can I add the libgdx to the exiting project. On github I found only how to start a new project with libGDx, an not how to add it to exising code. thanks.
推荐答案
一般来说,你想要什么是可能的,我想你最好的选择是创建与他们的GUI一个新的libgdx项目,并再手动合并所需的文件
Generally what you want is possible, I reckon your best bet would be to create a new libgdx project with their GUI and to then manually merge the files that are needed.
这篇关于如何添加libgdx对现有项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!