Removed reduntant code to start working on chunk rendering
This commit is contained in:
@ -81,8 +81,7 @@ function createTileLayer() {
|
||||
const layer = zoneTilemap.value.createBlankLayer('tiles', tilesetImages as any, 0, config.tile_size.y) as Phaser.Tilemaps.TilemapLayer
|
||||
|
||||
layer.setDepth(0)
|
||||
layer.setCullPadding(0, 0)
|
||||
|
||||
|
||||
return layer
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user