In my project I have some animations which made from too many frames, and on machines with weak videocards I am getting error with MAX_TEXTURE_SIZE and animation shows as black rectangle. To avoid that I divided spritesheet with animation into smaller ones, and make movieclip from them. Code looks like this:
this.loader = new PIXI.loaders.Loader();
this.loader // load spritesheets with anime
.add("b_b_0", 'res/anime/b_b_0.json')
.add("b_b_1", 'res/anime/b_b_1.json'
ServerCharlie thanks for reply, tried in this way:
AssetsManager.prototype.getBigMovieClip = function(resName, length) {
var frames = [];
for (var i = 0; i < length; i++) {
var fr = this.getFrames(resName + "_" + i);
renderer.plugins.prepare.upload(fr);
frames = frames.concat(fr);
}
var fr_set = [];
for (var j = 0; j < frames.length; j++) {
var frame = {
texture: frames[j],
time: 50
};
fr_set.p