I am getting an extra line (i.e. 1 pixel) along with the TextureRegions. Here is my code where I am making textureRegions. I also tried to give a 1 pixel padding between the TextureRegions, but it didn’t work. The size of my image is 132×24.
this.txAt_Paddles = new BitmapTextureAtlas(512, 64,TextureOptions.BILINEAR_PREMULTIPLYALPHA);
this.txRg_paddle_left = BitmapTextureAtlasTextureRegionFactory.createFromAsset(this.txAt_Paddles, this, "paddle_left.png", 0,0);
this.txRg_paddle_right = BitmapTextureAtlasTextureRegionFactory.createFromAsset(this.txAt_Paddles, this, "paddle_right.png", 0,24);
this.mEngine.getTextureManager().loadTexture(this.txAt_Paddles);
Can anyone point out the reson why I am getting these lines at different sides of the different TextureRegions. These lines are not on all the sides of the TextureRegions.
I used the workaround here to get rid of those funky lines. As far as I can tell, they are just a result of improper padding somewhere. I’m still working to understand why the solution works, but it did!