[url=http://apps.hi.baidu.com/share/detail/21623171]当前流行游戏引擎[/url]
[b]为什么会选择libgdx学习呢?理由如下面:[/b]
1.rokon和jpct-ae都推荐使用,而且都可能整合libgdx。
2.libgdx全面,性能好,强大,适合长远学习。
[url=http://libgdx.badlogicgames.com/]什么是libgdx[/url]
[url=http://libgdx.badlogicgames.com/download.php]下载libgdx[/url]
安装使用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.
[img]http://dl.iteye.com/upload/attachment/600902/ab766c22-9983-331b-b979-079415d8372f.png[/img]
[url=http://code.google.com/p/libgdx/wiki/ApplicationLifecycle]libgdx框架入口生命周期[/url]
[url=http://libgdx.badlogicgames.com/documentation.php]学习资料[/url]
[b]为什么会选择libgdx学习呢?理由如下面:[/b]
1.rokon和jpct-ae都推荐使用,而且都可能整合libgdx。
2.libgdx全面,性能好,强大,适合长远学习。
[url=http://libgdx.badlogicgames.com/]什么是libgdx[/url]
[url=http://libgdx.badlogicgames.com/download.php]下载libgdx[/url]
安装使用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.
[img]http://dl.iteye.com/upload/attachment/600902/ab766c22-9983-331b-b979-079415d8372f.png[/img]
[url=http://code.google.com/p/libgdx/wiki/ApplicationLifecycle]libgdx框架入口生命周期[/url]
[url=http://libgdx.badlogicgames.com/documentation.php]学习资料[/url]