mirror of
https://github.com/wassname/phaser.git
synced 2026-10-15 13:20:35 +08:00
Completely empty Tilemaps can now be created. This allows for dynamic map generation at runtime.
Loads of updates across most the Tilemap files. Not finished yet, still CSV loading to do and a multi-tileset issue to resolve, but it's a lot more flexible now.
This commit is contained in:
1 parent
6f513042c1
commit
d8f5832fa2
12 files changed
+396
-85
No files matched your search
@@ -367,7 +367,10 @@ Phaser.Physics.World.prototype = {
|
||||
|
||||
if (this.bounds !== null)
|
||||
{
|
||||
this.world.removeBody(this.bounds);
|
||||
if (this.bounds.world)
|
||||
{
|
||||
this.world.removeBody(this.bounds);
|
||||
}
|
||||
|
||||
var i = this.bounds.shapes.length;
|
||||
|
||||
|
||||
Reference in new issue
Block a user