mirror of
https://github.com/wassname/phaser.git
synced 2026-06-30 16:40:20 +08:00
Tilemap Collision in and working :) Needs testing against Groups now.
This commit is contained in:
@@ -110,7 +110,7 @@ Phaser.GameObjectFactory.prototype = {
|
||||
|
||||
tilemap: function (x, y, key, resizeWorld, tileWidth, tileHeight) {
|
||||
|
||||
return this.world.group.add(new Phaser.Tilemap(this.game, key, resizeWorld, tileWidth, tileHeight));
|
||||
return this.world.group.add(new Phaser.Tilemap(this.game, key, x, y, resizeWorld, tileWidth, tileHeight));
|
||||
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user