我正在使用andengine開發遊戲。我使用了兩個紋理區域的紋理使用andengine覆蓋紋理圖像
public Texture xImg;
public TextureRegion xRegion,yRegion;
this.xImg=new Texture(64, 32, TextureOptions.BILINEAR_PREMULTIPLYALPHA);
this.xRegion= TextureRegionFactory.createFromAsset(this.xImg, this, "level.png", 0, 0);
this.yRegion= TextureRegionFactory.createFromAsset(this.xImg, this, "life.png", 0, 0);
我爲xRegion和yRegion創建了一個兩個精靈。但是,兩個精靈圖像被水平和生活圖像覆蓋。如何共享兩個紋理區域
使用舊版本的引擎。未找到BitmapTextureAtlas。如果我更改了最新的jar,我需要在編碼中更改很多行。任何其他解決方案 – JohnRaja 2011-12-15 10:31:50