在 andengine 中应该使用的纹理的最大尺寸是多少。我用过
this.diamondTexture = new Texture(2048, 512, TextureOptions.BILINEAR_PREMULTIPLYALPHA);
在设备 (HTC G1 T-Mobile) 中加载时显示空白屏幕。减小图像尺寸后并用此替换上面的行时
this.diamondTexture = new Texture(1024, 512, TextureOptions.BILINEAR_PREMULTIPLYALPHA);
正在运行。有什么问题吗?
最佳答案
常用方法 - 纹理最大尺寸为 1024x1024。一些高端设备可以处理 2048x2048 纹理,但如果您希望您的应用程序在几乎所有设备上运行,最好使用 1024x1024 大小。
关于android - 纹理的最大尺寸是多少(Andengine),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6815141/