How to make a sprite picture in full size ?? And the picture looks cropped, how to fix it ?? I declare everything like this:
mResultBitmapTextureAtlas = new BitmapTextureAtlas(this.getTextureManager(), 4096, 4096, TextureOptions.BILINEAR_PREMULTIPLYALPHA); mEngine.getTextureManager().loadTexture(mResultBitmapTextureAtlas); mLinesTextureRegion = BitmapTextureAtlasTextureRegionFactory .createTiledFromAsset(this.mResultBitmapTextureAtlas, this, "but_lines.png", 0, 0, 1, 3); BitmapTextureAtlasTextureRegionFactory.setAssetBasePath("gfx/"); @Override protected Scene onLoadScene() { mEngine.registerUpdateHandler(new FPSLogger()); lines = new Sprite(0, 0, mLinesTextureRegion, this.getVertexBufferObjectManager()); mMainScene.attachChild(lines);