1
テクスチャを読み込むためにandengineのコードを理解しようとしていますが、512 n 512(私はその高さと幅を知っています)を知りたいですが、サイズ480 * 320のイメージです。andengineテクスチャロードの理解
public void onLoadResources() {
this.mTexture = new Texture(512, 512,
TextureOptions.BILINEAR_PREMULTIPLYALPHA);
this.mSplashTextureRegion = TextureRegionFactory
.createFromAsset(this.mTexture,this, "image.png", 0, 0);
this.mEngine.getTextureManager().loadTexture(this.mTexture);
}
私はネット上で検索しましたが、予想される説明はありませんでした。
ありがとうございましたjDourlens、私はこのルールに気づいていませんでした。 :) – Yogesh
PSPでプログラミング中にこれが本当に難しいと知っていた;) – jDourlens