`
喧嚣求静
  • 浏览: 552111 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

android游戏引擎libgdx学习笔记一

阅读更多
当前流行游戏引擎
为什么会选择libgdx学习呢?理由如下面:
1.rokon和jpct-ae都推荐使用,而且都可能整合libgdx。
2.libgdx全面,性能好,强大,适合长远学习。

什么是libgdx

下载libgdx

安装使用libgdx
Android project setup

Before doing these steps, the Android SDK must first be installed.

    Create a new Android project in Eclipse: File -> New -> Project -> Android Project. Name it appropriately (eg, "gamename-android"). For build target, check "Android 1.5". Specify a package name (eg, "com.gamename"). Next to "Create Activity" enter "AndroidGame". Click Finish.
    Go to the project folder on the file system and create a subfolder named libs. From the nightly zip, place gdx-backend-android.jar and the armeabi and armeabi-v7a folders in the libs folder.
    In Eclipse, right click the project -> Refresh. Right click again -> Properties -> Java Build Path -> Libraries -> Add JARs, select gdx-backend-android.jar and click OK.
    Click Add JARs again, select gdx.jar under the main project and click OK.
    Click the Projects tab, click Add, check the main project and click OK twice.

libgdx框架入口生命周期

学习资料
  • 大小: 13.8 KB
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics