AuthoritativeGameServer icon indicating copy to clipboard operation
AuthoritativeGameServer copied to clipboard

tilemap collision

Open Maeggi opened this issue 7 years ago • 0 comments

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 :)

Maeggi avatar Aug 18 '18 21:08 Maeggi