简单的原生游戏 - Android的 [英] Simple Native Game - Android

查看:307
本文介绍了简单的原生游戏 - Android的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有关我的手机编程当然,我们终于被给予一定的自由支配设计和开发我们自己的应用程序。我们唯一的要求是,我们必须实现某种方式地理位置或传感器。我选择尝试做一个很简单的游戏,实现了加速度计。其基本思路是,将形状从天上掉下来(屏幕顶部),你必须倾斜手机,使人的举动,赶上形状他们击中地面之前。我对游戏的味道有些想法,但我的老师建议我放弃了和刚刚获得基本的游戏玩下来(我们只有10天)。

For my mobile programming course we've finally been given some free reign to design and develop our own application. Our only requirement is that we have to implement geo-location or sensors in some way. I've chosen to try and make a very simple game which implements the accelerometer. The basic idea is that shapes will fall out of the sky (top of the screen) and you have to tilt the phone to make the 'guy' move and catch the shapes before they hit the ground. I have some ideas for game flavor but my teacher recommends I forsake that and just get the basic game play down (we only have 10 days).

所以,我对你......问题没有任何人有这个应用我会处理任何高水平的建议吗?是否有原生Android任何好的游戏/物理库?

So my question for you- does anyone have any high level advice for this application I'm going to tackle? Are there any good game/physics libraries for native android?

推荐答案

母语我假设你指的是SDK,而不是NDK因为你还没有加入 Android的NDK 标记。

By native I'm assuming you mean the SDK, and not the NDK since you haven't added the android-ndk tag.

这两个游戏引擎最适合您的需要是 AndEngine 并的 Libgdx 。它们都具有Box2D的物理引擎。 AndEngine附带了几个例子,并结合他们几个人可以给你你所需要的。这两款发动机有着良好的社会支持。

The two game engines best suited for your needs are AndEngine and Libgdx. They both have the Box2D physics engine as well. AndEngine comes with several examples, and combining a few of them could give you what you need. Both engines have a good community support as well.

这篇关于简单的原生游戏 - Android的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆