mirror of
https://github.com/wassname/phaser.git
synced 2026-08-11 05:49:23 +08:00
Tilemap painting example and other smaller updates.
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user