是什么质地的最大尺寸(Andengine) [英] What is maximum size of texture (Andengine)
本文介绍了是什么质地的最大尺寸(Andengine)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这是质地应该在andengine使用的最大尺寸。我用
What is maximum size of texture that should be used in andengine. I used
this.diamondTexture = new Texture(2048, 512, TextureOptions.BILINEAR_PREMULTIPLYALPHA);
在设备装载时(HTC G1的T-Mobile),它显示黑屏。降低后的图像尺寸以及与此替换上面一行时
When loading in device(HTC G1 T-Mobile) it shows blank screen. After reducing the image size and when replacing the above line with this
this.diamondTexture = new Texture(1024, 512, TextureOptions.BILINEAR_PREMULTIPLYALPHA);
它的运行。什么问题?
Its running . Whats the problem ?
推荐答案
常用的方法 - 纹理最大尺寸为1024×1024。一些HI-终端设备可处理2048×2048的纹理,但是它`最好使用1024x1024的大小,如果你希望你的应用程序运行在几乎所有的设备。
Common approach - texture max size is 1024x1024. Some hi-end devices can handle 2048x2048 textures, but it`s better to use 1024x1024 size if you want your application to run on almost all devices.
这篇关于是什么质地的最大尺寸(Andengine)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文