Love the engine, but got one nasty little problem. I got black lines around my sprites. Not always. Sometimes they're gone, next time i run the application they are all over the place. It's totally random.
Screenshot is here:
http://imageshack.us/f/190/sc20111005232444.jpg/
This is part of my texture loading code. The rest is kinda the same. All with enough padding so the others sprites won't overlap.
Using java Syntax Highlighting
- Game.resourceManager = new ResourceManager();
- BitmapTextureAtlasTextureRegionFactory.setAssetBasePath("gfx/");
- // HUD textures
- BitmapTextureAtlas hudAtlas = new BitmapTextureAtlas(1024, 1024, TextureOptions.BILINEAR);
- TextureRegion hud_bar = BitmapTextureAtlasTextureRegionFactory.createFromAsset(hudAtlas, this, "hud/bar.png", 0, 0);
- Game.resourceManager.addSprite("hud_bar", 10f, 800f, hud_bar);
- TextureRegion hud_info = BitmapTextureAtlasTextureRegionFactory.createFromAsset(hudAtlas, this, "hud/info.png", 11, 0);
- Game.resourceManager.addSprite("hud_info", 173f, 48f, hud_info);
- TextureRegion hud_info2 = BitmapTextureAtlasTextureRegionFactory.createFromAsset(hudAtlas, this, "hud/info2.png", 185, 0);
- Game.resourceManager.addSprite("hud_info2", 173f, 48f, hud_info2);
Parsed in 0.032 seconds, using GeSHi 1.0.8.4
Anybody who knows the magic answer?
Thanks in advance!

