AH3

Members
  • Content Count

    2
  • Joined

  • Last visited

Posts posted by AH3


  1. 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