android游戏引擎libgdx学习笔记一

[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]
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值