I think I’m about 95% of the way there and wanted to post my solution thus far:
preload(){ //Load the sprite sheets
game.load.image(‘testsheet1’, ‘testsheet1.png’);
game.load.image(‘testsheet2’, ‘testsheet2.png’);
}
//Add spritesheets to group
sheetGroup.create(0, 0, “testsheet1”);
sheetGroup.create(0, 0, “testsheet2”);
//Get the texture from the group
var bmdSprite = sheetGroup._cachedSprite.texture;
//Create bitmapdata from the group
var bmd = game.make.bitmapData();
bmd.load(bmdSprite);
//Add the new spritesheet
game.cache.addSpriteSheet(‘test sheet’, ‘’, bmd.canvas, 128, 256, 12, 0, 0);
This works; the only issue is that the edges of the resulting spritesheet are very pixellated. I created a separate thread for that here: