如何根据与unity3D CPU性能限制的Andr​​oid设备 [英] How to limit android devices according to CPU performance with unity3D

查看:273
本文介绍了如何根据与unity3D CPU性能限制的Andr​​oid设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近发表了关于App Store的团结我的比赛。我有针对性的iOS 7,以消除iPhone 3GS的性能的原因。
现在我愿意出版我的游戏与团结的Andr​​oid设备,但我不知道如何限制我的比赛。它的配置应该与我最小API级别或设备过滤器中使用?
我的游戏采用与iPhone 4约100%的CPU和50%左右与iPad 4的视网膜。
任何帮助将是AP preciated。
谢谢你。

I have recently published my unity game on App Store. I Targeted iOS 7 to eliminate iPhone 3GS for performance reasons. Now i am willing to publish my game for android devices with unity but i am not sure how to restrict my game. which configuration should i use with min API level or device filter? My game uses about 100 % CPU with iPhone 4 and about 50% with iPad 4 retina. Any help would be appreciated. Thanks.

推荐答案

如果您想定位高端的Andr​​oid设备,首先,尝试设置API级别IceCreamSandwhich以上。接下来,尝试限制你的应用程序(在code)到特定的最小像WVGA(800×480)的分辨率。任何决议低于将主要是不能运行游戏一个很老的设备。您也可以在统一指定型号是正好为这些设备,但我真的不建议这样做,因为很多用户根自己的手机,你可以有一些问题吧。你也可以写一些code,使你的游戏将检查设备有CPU的多个核心,但不能在Play商店来完成。因此,例如,如果用户有一个800x480的屏幕,运行+ ICS,但有一个800Mhz的CPU,你不能做任何事情,他可以从商店安装游戏。但是,你可以强制检查在游戏中的CPU内核因此本场比赛开始没单核设备等。
总体限制API来ICS +和最小分辨率为800x480。
希望我能帮上忙。

If you want to target higher-end android devices, first of all, try setting the API level to IceCreamSandwhich or above. Next, try limiting your app(in code) to a specific minimum resolution like WVGA (800x480). Any resolution lower than that will mostly be a very old device which cannot run your game. You can also specify model numbers in unity to be exactly for those devices, but I don't really recommend doing that, because many users root their phones and you could have some issues with it. You can also write some code so that your game checks if the device has multiple cores of CPU, but that cannot be done in the Play Store. So for example if a user has a 800x480 screen with ICS+ running, but has a 800Mhz CPU, you cannot do anything about it, he can install the game from the store. But you can force check the CPU cores in game so the game does not start for single core devices etc. Overall limit the api to ICS+ and the minimum resolution to 800x480. Hope I could help.

这篇关于如何根据与unity3D CPU性能限制的Andr​​oid设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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