AuthoritativeGameServer
AuthoritativeGameServer copied to clipboard
tilemap collision
hey, can u help me a example for tilemap and collision?
in phaser 3...
this.add.tilemap('level1');
this.map.addTilesetImage('moreTiles','tiles');
this.map.createStaticLayer('Background',tileset,0,0);
this.map.createStaticLayer('Walls',tileset,0,0);
this.map.setCollisionBetween(1, 120, true, 'walls');
that would be cool :)