I need your help, I'm going crazy.
I want to create a map of levels like candy crush.
load a tile map like this:
var map = cc.TMXTiledMap.create ("res/Maps/orthogonal-test1.tmx");
this.addChild (map, 1, TAG_TILE_MAP);
var layer = map.getLayer ("pattern1");
sprite = layer.getTileAt (cc.p (63, 85));
but do not know how to add buttons to map, buttons in a specific position on the map and move along with the map.
please help :;qst