When i press play my ground (tiled background) becomes black. Actually, even without the ground it`s black.
Develop games in your browser. Powerful, performant & highly capable.
I think the state of your tilemap is erased (-1), you should fill it with empty tile. Example : the tile 0, you let it empty and then fill the erased tiles.