9 years ago by Lunarovich
Hello! I'm trying to animate tiles with a following code:
Tile 2 simply does not animate. Please help :)
var starsAnim = new ig.AnimationSheet('media/stars_far.png', 16, 16); this.backgroundAnims['media/stars_far.png'] = { 2: new ig.Animation(starsAnim, 0.3, [6, 7, 8, 7]) }; this.loadLevel(LevelLevel1);
Tile 2 simply does not animate. Please help :)