0
我正在開發一款帶有andengine的安卓遊戲。我使用AutoParallaxBackground重複背景。但我的背景圖片是不適合的screen.How解決同如何使AutoParallaxBackground適合屏幕
這裏是我的代碼提前
AutoParallaxBackground autoParallaxBackground=new AutoParallaxBackground(0, 0, 0, 10);
autoParallaxBackground.attachParallaxEntity(new ParallaxEntity(-25.0f, new Sprite(0, 0, backgroundTextureRegion , engine.getVertexBufferObjectManager())));
gameScene.this.setBackground(autoParallaxBackground);
感謝
我想調整autoparallaxBackground的大小..不是精靈 – varghesekutty