I create a container and I add some sprites on this container, then it is very bad.
This is my main code:
Ground.prototype.createCGround = function (count, x, y) {
var front = PIXI.Sprite.fromFrame('Tile_10.png'),
blank = PIXI.Sprite.fromFrame('Tile_13.png');
var container = new PIXI.Container();
container.addChild(front);
container.addChild(blank);
front.position.set(0, 0);
var count = count || 1;
for (var i = 0; i < count; i++) {
var span = PIXI.Sprite.fromFrame('Tile_11.png');
container.addChild(span);
span.position.set(front.width + i * span.width, 0);
}
blank.position.set(front.width + i * span.width, 0);
container.position.set(x, y);
container.isUes = false;
return container;
}
It have some black lines in the border !!!!!!!
And the black lines are random , not all !!!!
Who can help me !
I'm very need help!!!
Thank you!