Hi,
i work on a mobile game made with Phaser 2.6.2 and Cordova.
i want to do a tween on group children :
var game = new Phaser.Game(window.innerWidth, window.innerHeight, Phaser.AUTO, 'game');
function onCardClick(sprite){
game.add.tween(sprite.scale).to({x : 0}, 100, "Linear", true, 0, 0, false);
}
myGroup.inputEnableChildren = true;
myGroup.onChildInputDown.add(onCardClick, this);
It works perfectly on browser, with Webgl rendering. But on Android device (with running by cordova), with canvas rendering, the tween is not shown, only a delay and my sprite.scale is set to 0 without any tween.
I tried to force Webgl on my device (with this tip) and the tween is working...
I am surprise that some simple tweens or animations are not working in CANVAS mode on mobile, do you know if it is normal ?
(i tried to set the game with Phaser.CANVAS but it does not work either)
thanks