开发者

AndEngine + Box2D on Android- how portable is it?

开发者 https://www.devze.com 2023-02-20 08:44 出处:网络
I\'m considering using AndEngine for a physics-based game on Android. A number of the examples (especially the ones I\'d be basing my code on) depend on the Box2D extension.

I'm considering using AndEngine for a physics-based game on Android. A number of the examples (especially the ones I'd be basing my code on) depend on the Box2D extension.

I was surprised to learn that this extension relies on native code for its Box2D implementation, rather 开发者_如何转开发than using JBox2D.

How does this limit AndEngine's portability? Will it work on all Android devices?


It won't run on non-ARM devices, like some currently very rare x86 netbooks that have a ported Android version running on them.


Yes, it should work on all android devices, as long as you include it in your reference library when building the apk.

0

精彩评论

暂无评论...
验证码 换一张
取 消