develop #16

Merged
cromer merged 6 commits from develop into master 2022-07-06 18:11:24 -04:00
2 changed files with 7 additions and 2 deletions
Showing only changes of commit 2280e72ff1 - Show all commits

View File

@ -72,6 +72,10 @@ func get_import_options(preset):
{
"name": "uv_clip",
"default_value": true
},
{
"name": "y_sort",
"default_value": false
},
{
"name": "image_flags",

View File

@ -227,9 +227,10 @@ func make_layer(layer, parent, root, data):
tilemap.mode = map_mode
tilemap.cell_half_offset = map_offset
tilemap.format = 1
tilemap.cell_custom_transform = Transform2D(Vector2(cell_size.x, 0), Vector2(0, cell_size.y), Vector2(0, 0))
tilemap.cell_clip_uv = options.uv_clip
tilemap.cell_y_sort = true
tilemap.cell_tile_origin = TileMap.TILE_ORIGIN_BOTTOM_LEFT
tilemap.cell_y_sort = options.y_sort
tilemap.cell_tile_origin = TileMap.TILE_ORIGIN_TOP_LEFT
tilemap.collision_layer = options.collision_layer
tilemap.collision_mask = options.collision_mask
tilemap.z_index = z_index