Aurelijus Posted December 27, 2015 Share Posted December 27, 2015 Maybe there is some other way to change player sprites, because this way only load animation without changing real player.frame that's why i can't update it with eureca server and other player can't see it. player.animations.add('left', [9,10,11], 10, true); player.animations.add('right', [18,19,20], 10, true); player.animations.add('up', [27,28,29], 10, true); player.animations.add('down', [0,1,2], 10, true);and this way works but sometimes walks very fast and lag on camera movement:if (cursors.up.isDown){if(tank.frame == 27) { tank.frame = 28; } if(tank.frame == 28) {tank.frame = 29; }... Link to comment Share on other sites More sharing options...
Recommended Posts