0

I'm Using AndEngine Gles2.

I read about this "known issue" and solutions but they didn't work for me. The problem is that sometimes some of my sprite get a black border around them (the png files are perfectly fine).

black border around the sprites

I tried to extrude to pictures by using TexturePacker padding each image with 2px and try it with 1px extrude - didn't help tried to play with it 2 -3 px and didn't help.

I'm building my BuildableBitmapTextureAtlas in this way:

BuildableBitmapTextureAtlas gameTextureAtlas_7 = new BuildableBitmapTextureAtlas(activity.getTextureManager(), 1024, 1024, TextureOptions.BILINEAR);

and loading it:

gameTextureAtlas_7.build(new BlackPawnTextureAtlasBuilder<IBitmapTextureAtlasSource, BitmapTextureAtlas>(0, 1, 0));
gameTextureAtlas_7.load();

Some time I get the black border around them, Specealy after there is a google popup full screen ads , after closing it most of the sprite with the black border

What am I doing wrong? How should I confige the BlackPawnTextureAtlasBuilder or the PNG files?

Aviram Fireberger
  • 3,910
  • 5
  • 50
  • 69

0 Answers0