You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//create shadow
this.shadow = game.add.sprite(x, y, 'tank', 'shadow');
//then the tank body
this.tank = game.add.sprite(x, y, 'tank', 'tank1');
//attach shadow to tank, so they will move togheder
tank.addChild(shadow);
//now activate physics!
game.physics.enable(tank, Physics.ARCADE, false); // <-- it break the engine!
The text was updated successfully, but these errors were encountered:
easy step to reproduce:
The text was updated successfully, but these errors were encountered: