Biratus Posted September 20, 2016 Share Posted September 20, 2016 Hello, I can't seem to understand why this is happening: Here, I just want to load a tilemap made in Tiled, it's a 35*15 tile map, each tile is 64*64px as are the tile in my tilesheet (2240*960 in total). So I followed this example from Phaser (apparently some of them are not accurate...) and the layer doesn't resize. I get that on the browser the map is displayed with the total width and height inside the game element which has the size I want, and that's my problem ! Link to comment Share on other sites More sharing options...
squilibob Posted September 24, 2016 Share Posted September 24, 2016 map.layer.name would be undefined I believe. You might be after map.layers[0].name Link to comment Share on other sites More sharing options...
Recommended Posts