简体   繁体   English

Android上的AndEngine + Box2D-便携性如何?

[英]AndEngine + Box2D on Android- how portable is it?

I'm considering using AndEngine for a physics-based game on Android. 我正在考虑将AndEngine用于Android上基于物理的游戏。 A number of the examples (especially the ones I'd be basing my code on) depend on the Box2D extension. 许多示例(尤其是我基于代码的示例)取决于Box2D扩展。

I was surprised to learn that this extension relies on native code for its Box2D implementation, rather than using JBox2D. 得知该扩展程序依赖于本机代码的Box2D实现而不是使用JBox2D,我感到很惊讶。

How does this limit AndEngine's portability? 这如何限制AndEngine的可移植性? Will it work on all Android devices? 可以在所有Android设备上使用吗?

它不能在ARM设备上运行,例如一些目前非常罕见的 x86上网本,这些上网本上运行的是移植的Android版本。

是的,只要在构建apk时将其包含在参考库中,它就可以在所有android设备上运行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM