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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,6 +87,26 @@ Notes:
87
87
*`MapData.infinite` is a new boolean that controls if the map data is infinite or not.
88
88
*`DynamicTilemapLayer.destroy` will now remove the layer from the Tilemap it belongs to, clearing it from the layers array. Fix #4319 (thanks @APXEOLOG)
89
89
*`StaticTilemapLayer.destroy` will now remove the layer from the Tilemap it belongs to, clearing it from the layers array. Fix #4319 (thanks @APXEOLOG)
90
+
*`DynamicTilemapLayer.destroy` has a new optional boolean argument `removeFromTilemap` which will control if the layer is removed from the parent map or not.
91
+
*`StaticTilemapLayer.destroy` has a new optional boolean argument `removeFromTilemap` which will control if the layer is removed from the parent map or not.
92
+
*`Tilemap.copy` now actually returns `null` if an invalid layer was given, as per the docs.
93
+
*`Tilemap.fill` now actually returns `null` if an invalid layer was given, as per the docs.
94
+
*`Tilemap.forEachTile` now actually returns `null` if an invalid layer was given, as per the docs.
95
+
*`Tilemap.putTilesAt` now actually returns `null` if an invalid layer was given, as per the docs.
96
+
*`Tilemap.randomize` now actually returns `null` if an invalid layer was given, as per the docs.
97
+
*`Tilemap.calculateFacesAt` now actually returns `null` if an invalid layer was given, as per the docs.
98
+
*`Tilemap.renderDebug` now actually returns `null` if an invalid layer was given, as per the docs.
99
+
*`Tilemap.replaceByIndex` now actually returns `null` if an invalid layer was given, as per the docs.
100
+
*`Tilemap.setCollision` now actually returns `null` if an invalid layer was given, as per the docs.
101
+
*`Tilemap.setCollisionBetween` now actually returns `null` if an invalid layer was given, as per the docs.
102
+
*`Tilemap.setCollisionByProperty` now actually returns `null` if an invalid layer was given, as per the docs.
103
+
*`Tilemap.setCollisionByExclusion` now actually returns `null` if an invalid layer was given, as per the docs.
104
+
*`Tilemap.setCollisionFromCollisionGroup` now actually returns `null` if an invalid layer was given, as per the docs.
105
+
*`Tilemap.setTileIndexCallback` now actually returns `null` if an invalid layer was given, as per the docs.
106
+
*`Tilemap.setTileLocationCallback` now actually returns `null` if an invalid layer was given, as per the docs.
107
+
*`Tilemap.shuffle` now actually returns `null` if an invalid layer was given, as per the docs.
108
+
*`Tilemap.swapByIndex` now actually returns `null` if an invalid layer was given, as per the docs.
109
+
*`Tilemap.weightedRandomize` now actually returns `null` if an invalid layer was given, as per the docs.
0 commit comments