Jump to content

Problem with Layer.ResizeWorld()


AH3
 Share

Recommended Posts

Hi guys,

 

I have a problem when try to resize the world.

This is the code:

 

this.map = this.game.add.tilemap('test');

this.map.addTilesetImage('tile', 'tile');
this.layer = this.map.createLayer(0);
		
this.map.setCollisionBetween(1, 100, true, 'blockedLayer');
this.layer.resizeWorld();

In the photos you can see that the world is not resizing, i dont know what is happening, any idea? i want to try to resolve this for myself XD

pic1.png

pic2.png

pic3.png

Link to comment
Share on other sites

  • 3 years later...
 Share

  • Recently Browsing   0 members

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