Phaser de rotación de cambio
function preload() {
this.load.image('atari', 'assets/sprites/atari130xe.png');
this.load.atlas('atlas', 'assets/atlas/megaset-0.png', 'assets/atlas/megaset-0.json');
}
function create() {
atlasFrame = this.add.image(300, 100, 'atlas', 'dragonwiz');
singleImage = this.add.image(300, 300, 'atari');
}
function update() {
atlasFrame.rotation += 0.01;
singleImage.rotation += 0.01;
}
Himanshu Jangid