nak3ddogs Posted July 15, 2014 Share Posted July 15, 2014 helo.can i find a better solution for animate 1 tile at the background?can i add animation only for 1 tile on a layer?map = game.add.tilemap('pina');map.addTilesetImage('tile','levelPng');layer2 = map.createLayer('Tile Layer 2');var time= 100;update(){ if (time < 0 ) { time = 100 map.replace(10, 11, 0, 0, 32, 32, layer2); } else{ time--; } } Link to comment Share on other sites More sharing options...
Recommended Posts