Hello guys. I wander if there is a way to load a spritesheet via load.atlas() using .pvr extension?
In this tutorial they show an example with load.image()
function preload () {
game.load.image('factory', {
etc1: 'assets/factory_etc1.pkm',
s3tc: 'assets/factory_dxt1.pvr',
pvrtc: 'assets/factory_pvrtc.pvr',
truecolor: 'assets/factory.png'
});
// The old way is also still supported:
game.load.image('factory', 'assets/textures/factory.png');
}
Can I do the same with load.atlas()?
Sth like
function preload () {
game.load.atlas('factory', {
pvrtc: 'assets/factory.pvr',
truecolor: 'assets/factory.png'
}, 'assets/factory.json');
}
If I can't then how can I load a compressed spritesheet?
I am using phaser 2.10.5 but can switch to the latest Phaser 2 version.
Thanks in advance.
P.S. I know there is plugin for such purposes but I wanna try without this one.