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:
photonstorm committed 2014-03-03 05:19:46 +00:00
1 parent 6f513042c1
commit d8f5832fa2
12 files changed
+396 -85

No files matched your search

+4 -1
View File
@@ -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;