You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tilemap.removeTile(x, y, layer) lets you remove the tile at the given coordinates and updates the collision data.
Tilemap.removeTileWorldXY lets you remove the tile at the given pixel value coordinates and updates the collision data.
If you pass `null` to Tilemap.putTile as the tile parameter it will pass the call over to Tilemap.removeTile.
Copy file name to clipboardExpand all lines: README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,6 +74,7 @@ Updated
74
74
* The Phaser jshint process is now running on Travis (thanks @xtian, #656)
75
75
* The Phaser Gruntfile is now split up into option tasks (thanks @xtian, #638)
76
76
* Key.reset now clears any callbacks associated with the onDown and onUp events and nulls the onHoldCallback if set. Key.reset is called by Keyboard.reset when changing state.
77
+
* If you pass `null` to Tilemap.putTile as the tile parameter it will pass the call over to Tilemap.removeTile.
77
78
78
79
79
80
New Features
@@ -92,6 +93,8 @@ New Features
92
93
* SoundManager.removeByKey(key) will remove all sounds from the SoundManager that have a key matching the given value.
93
94
* ArcadePhysics.Body.hitTest(x, y) will return a boolean based on if the given world coordinate are within the Body or not.
94
95
* StateManager.restart allows you to quickly restart the *current* state, optionally clearing the world and cache.
96
+
* Tilemap.removeTile(x, y, layer) lets you remove the tile at the given coordinates and updates the collision data.
97
+
* Tilemap.removeTileWorldXY lets you remove the tile at the given pixel value coordinates and updates the collision data.
0 commit comments