Tilemap painting example and other smaller updates.

This commit is contained in:
photonstorm
2013-10-17 21:10:00 +01:00
parent 275fa4641e
commit 7e8b79adf4
7 changed files with 256 additions and 26 deletions
+1 -1
View File
@@ -50,7 +50,7 @@
// You can also pass in x, y, width, height values to control the area in which the replace happens
map.random(layer.getTileX(sprite.x), layer.getTileY(sprite.y), 6, 6);
map.shuffle(layer.getTileX(sprite.x), layer.getTileY(sprite.y), 6, 6);
}