Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在我的电脑上用 java 开发了一个游戏,但我意识到这并不是我想在我的电脑上玩的游戏,而是我想要在手机上玩的东西(三星 Galaxy S3)。有没有简单的方法让它成为一个android应用程序?
为此,我推荐了两个跨平台项目。LIBGDX和PlayN。
您将能够重用您的一些代码,但需要使用 android 平台不存在的对象(java.awt.Point、java.awt.Rectangle、Graphics、Graphics2D 等)更改任何代码
我个人用过LIBGDX,给它最高的推荐。PlayN 我没有,但听说过好东西。