Jump to content

World not scaling with resizeWorld


Biratus
 Share

Recommended Posts

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 !

 

Capture d’écran (4).png

Capture d’écran (3).png

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...