From 7c204642f2509e7882456f02692d0ade5214576b Mon Sep 17 00:00:00 2001 From: yuki Date: Mon, 24 Nov 2025 10:34:48 -0300 Subject: [PATCH] fix Z index issue in tileset --- assets/world/wall_tileset.tres | 52 ++-------------------------------- 1 file changed, 2 insertions(+), 50 deletions(-) diff --git a/assets/world/wall_tileset.tres b/assets/world/wall_tileset.tres index d5ca404..0b74116 100644 --- a/assets/world/wall_tileset.tres +++ b/assets/world/wall_tileset.tres @@ -1,27 +1,24 @@ [gd_resource type="TileSet" load_steps=3 format=3 uid="uid://pq8rue1s8kgc"] -[ext_resource type="Texture2D" uid="uid://cq0km3t581pky" path="res://assets/world/grass.aseprite" id="1_0eg00"] +[ext_resource type="Texture2D" uid="uid://cq0km3t581pky" path="res://assets/world/grass.aseprite" id="1_jl213"] [sub_resource type="TileSetAtlasSource" id="2"] resource_name = "bush" -texture = ExtResource("1_0eg00") +texture = ExtResource("1_jl213") separation = Vector2i(1, 1) texture_region_size = Vector2i(18, 18) 0:0/0 = 0 -0:0/0/z_index = 1 0:0/0/terrain_set = 0 0:0/0/terrain = 0 0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) 0:0/0/terrains_peering_bit/bottom_side = 0 1:0/0 = 0 -1:0/0/z_index = 1 1:0/0/terrain_set = 0 1:0/0/terrain = 0 1:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) 1:0/0/terrains_peering_bit/right_side = 0 1:0/0/terrains_peering_bit/bottom_side = 0 2:0/0 = 0 -2:0/0/z_index = 1 2:0/0/terrain_set = 0 2:0/0/terrain = 0 2:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) @@ -29,14 +26,12 @@ texture_region_size = Vector2i(18, 18) 2:0/0/terrains_peering_bit/bottom_side = 0 2:0/0/terrains_peering_bit/left_side = 0 3:0/0 = 0 -3:0/0/z_index = 1 3:0/0/terrain_set = 0 3:0/0/terrain = 0 3:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) 3:0/0/terrains_peering_bit/bottom_side = 0 3:0/0/terrains_peering_bit/left_side = 0 4:0/0 = 0 -4:0/0/z_index = 1 4:0/0/terrain_set = 0 4:0/0/terrain = 0 4:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) @@ -46,7 +41,6 @@ texture_region_size = Vector2i(18, 18) 4:0/0/terrains_peering_bit/top_left_corner = 0 4:0/0/terrains_peering_bit/top_side = 0 5:0/0 = 0 -5:0/0/z_index = 1 5:0/0/terrain_set = 0 5:0/0/terrain = 0 5:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) @@ -55,7 +49,6 @@ texture_region_size = Vector2i(18, 18) 5:0/0/terrains_peering_bit/bottom_side = 0 5:0/0/terrains_peering_bit/left_side = 0 6:0/0 = 0 -6:0/0/z_index = 1 6:0/0/terrain_set = 0 6:0/0/terrain = 0 6:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) @@ -64,7 +57,6 @@ texture_region_size = Vector2i(18, 18) 6:0/0/terrains_peering_bit/bottom_left_corner = 0 6:0/0/terrains_peering_bit/left_side = 0 7:0/0 = 0 -7:0/0/z_index = 1 7:0/0/terrain_set = 0 7:0/0/terrain = 0 7:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) @@ -74,7 +66,6 @@ texture_region_size = Vector2i(18, 18) 7:0/0/terrains_peering_bit/top_side = 0 7:0/0/terrains_peering_bit/top_right_corner = 0 8:0/0 = 0 -8:0/0/z_index = 1 8:0/0/terrain_set = 0 8:0/0/terrain = 0 8:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) @@ -82,7 +73,6 @@ texture_region_size = Vector2i(18, 18) 8:0/0/terrains_peering_bit/bottom_right_corner = 0 8:0/0/terrains_peering_bit/bottom_side = 0 9:0/0 = 0 -9:0/0/z_index = 1 9:0/0/terrain_set = 0 9:0/0/terrain = 0 9:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) @@ -93,7 +83,6 @@ texture_region_size = Vector2i(18, 18) 9:0/0/terrains_peering_bit/left_side = 0 9:0/0/terrains_peering_bit/top_side = 0 10:0/0 = 0 -10:0/0/z_index = 1 10:0/0/terrain_set = 0 10:0/0/terrain = 0 10:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) @@ -103,7 +92,6 @@ texture_region_size = Vector2i(18, 18) 10:0/0/terrains_peering_bit/bottom_left_corner = 0 10:0/0/terrains_peering_bit/left_side = 0 11:0/0 = 0 -11:0/0/z_index = 1 11:0/0/terrain_set = 0 11:0/0/terrain = 0 11:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) @@ -111,14 +99,12 @@ texture_region_size = Vector2i(18, 18) 11:0/0/terrains_peering_bit/bottom_left_corner = 0 11:0/0/terrains_peering_bit/left_side = 0 0:1/0 = 0 -0:1/0/z_index = 1 0:1/0/terrain_set = 0 0:1/0/terrain = 0 0:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) 0:1/0/terrains_peering_bit/bottom_side = 0 0:1/0/terrains_peering_bit/top_side = 0 1:1/0 = 0 -1:1/0/z_index = 1 1:1/0/terrain_set = 0 1:1/0/terrain = 0 1:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) @@ -126,7 +112,6 @@ texture_region_size = Vector2i(18, 18) 1:1/0/terrains_peering_bit/bottom_side = 0 1:1/0/terrains_peering_bit/top_side = 0 2:1/0 = 0 -2:1/0/z_index = 1 2:1/0/terrain_set = 0 2:1/0/terrain = 0 2:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) @@ -135,7 +120,6 @@ texture_region_size = Vector2i(18, 18) 2:1/0/terrains_peering_bit/left_side = 0 2:1/0/terrains_peering_bit/top_side = 0 3:1/0 = 0 -3:1/0/z_index = 1 3:1/0/terrain_set = 0 3:1/0/terrain = 0 3:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) @@ -143,7 +127,6 @@ texture_region_size = Vector2i(18, 18) 3:1/0/terrains_peering_bit/left_side = 0 3:1/0/terrains_peering_bit/top_side = 0 4:1/0 = 0 -4:1/0/z_index = 1 4:1/0/terrain_set = 0 4:1/0/terrain = 0 4:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) @@ -152,7 +135,6 @@ texture_region_size = Vector2i(18, 18) 4:1/0/terrains_peering_bit/bottom_side = 0 4:1/0/terrains_peering_bit/top_side = 0 5:1/0 = 0 -5:1/0/z_index = 1 5:1/0/terrain_set = 0 5:1/0/terrain = 0 5:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) @@ -164,7 +146,6 @@ texture_region_size = Vector2i(18, 18) 5:1/0/terrains_peering_bit/top_side = 0 5:1/0/terrains_peering_bit/top_right_corner = 0 6:1/0 = 0 -6:1/0/z_index = 1 6:1/0/terrain_set = 0 6:1/0/terrain = 0 6:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) @@ -176,7 +157,6 @@ texture_region_size = Vector2i(18, 18) 6:1/0/terrains_peering_bit/top_left_corner = 0 6:1/0/terrains_peering_bit/top_side = 0 7:1/0 = 0 -7:1/0/z_index = 1 7:1/0/terrain_set = 0 7:1/0/terrain = 0 7:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) @@ -185,7 +165,6 @@ texture_region_size = Vector2i(18, 18) 7:1/0/terrains_peering_bit/left_side = 0 7:1/0/terrains_peering_bit/top_side = 0 8:1/0 = 0 -8:1/0/z_index = 1 8:1/0/terrain_set = 0 8:1/0/terrain = 0 8:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) @@ -195,7 +174,6 @@ texture_region_size = Vector2i(18, 18) 8:1/0/terrains_peering_bit/top_side = 0 8:1/0/terrains_peering_bit/top_right_corner = 0 9:1/0 = 0 -9:1/0/z_index = 1 9:1/0/terrain_set = 0 9:1/0/terrain = 0 9:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) @@ -206,9 +184,7 @@ texture_region_size = Vector2i(18, 18) 9:1/0/terrains_peering_bit/top_side = 0 9:1/0/terrains_peering_bit/top_right_corner = 0 10:1/0 = 0 -10:1/0/z_index = 1 11:1/0 = 0 -11:1/0/z_index = 1 11:1/0/terrain_set = 0 11:1/0/terrain = 0 11:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) @@ -219,20 +195,17 @@ texture_region_size = Vector2i(18, 18) 11:1/0/terrains_peering_bit/top_left_corner = 0 11:1/0/terrains_peering_bit/top_side = 0 0:2/0 = 0 -0:2/0/z_index = 1 0:2/0/terrain_set = 0 0:2/0/terrain = 0 0:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) 0:2/0/terrains_peering_bit/top_side = 0 1:2/0 = 0 -1:2/0/z_index = 1 1:2/0/terrain_set = 0 1:2/0/terrain = 0 1:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) 1:2/0/terrains_peering_bit/right_side = 0 1:2/0/terrains_peering_bit/top_side = 0 2:2/0 = 0 -2:2/0/z_index = 1 2:2/0/terrain_set = 0 2:2/0/terrain = 0 2:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) @@ -240,14 +213,12 @@ texture_region_size = Vector2i(18, 18) 2:2/0/terrains_peering_bit/left_side = 0 2:2/0/terrains_peering_bit/top_side = 0 3:2/0 = 0 -3:2/0/z_index = 1 3:2/0/terrain_set = 0 3:2/0/terrain = 0 3:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) 3:2/0/terrains_peering_bit/left_side = 0 3:2/0/terrains_peering_bit/top_side = 0 4:2/0 = 0 -4:2/0/z_index = 1 4:2/0/terrain_set = 0 4:2/0/terrain = 0 4:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) @@ -256,7 +227,6 @@ texture_region_size = Vector2i(18, 18) 4:2/0/terrains_peering_bit/top_side = 0 4:2/0/terrains_peering_bit/top_right_corner = 0 5:2/0 = 0 -5:2/0/z_index = 1 5:2/0/terrain_set = 0 5:2/0/terrain = 0 5:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) @@ -268,7 +238,6 @@ texture_region_size = Vector2i(18, 18) 5:2/0/terrains_peering_bit/top_side = 0 5:2/0/terrains_peering_bit/top_right_corner = 0 6:2/0 = 0 -6:2/0/z_index = 1 6:2/0/terrain_set = 0 6:2/0/terrain = 0 6:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) @@ -280,7 +249,6 @@ texture_region_size = Vector2i(18, 18) 6:2/0/terrains_peering_bit/top_side = 0 6:2/0/terrains_peering_bit/top_right_corner = 0 7:2/0 = 0 -7:2/0/z_index = 1 7:2/0/terrain_set = 0 7:2/0/terrain = 0 7:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) @@ -289,7 +257,6 @@ texture_region_size = Vector2i(18, 18) 7:2/0/terrains_peering_bit/top_left_corner = 0 7:2/0/terrains_peering_bit/top_side = 0 8:2/0 = 0 -8:2/0/z_index = 1 8:2/0/terrain_set = 0 8:2/0/terrain = 0 8:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) @@ -300,7 +267,6 @@ texture_region_size = Vector2i(18, 18) 8:2/0/terrains_peering_bit/top_side = 0 8:2/0/terrains_peering_bit/top_right_corner = 0 9:2/0 = 0 -9:2/0/z_index = 1 9:2/0/terrain_set = 0 9:2/0/terrain = 0 9:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) @@ -313,7 +279,6 @@ texture_region_size = Vector2i(18, 18) 9:2/0/terrains_peering_bit/top_side = 0 9:2/0/terrains_peering_bit/top_right_corner = 0 10:2/0 = 0 -10:2/0/z_index = 1 10:2/0/terrain_set = 0 10:2/0/terrain = 0 10:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) @@ -324,7 +289,6 @@ texture_region_size = Vector2i(18, 18) 10:2/0/terrains_peering_bit/top_left_corner = 0 10:2/0/terrains_peering_bit/top_side = 0 11:2/0 = 0 -11:2/0/z_index = 1 11:2/0/terrain_set = 0 11:2/0/terrain = 0 11:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) @@ -334,31 +298,26 @@ texture_region_size = Vector2i(18, 18) 11:2/0/terrains_peering_bit/top_left_corner = 0 11:2/0/terrains_peering_bit/top_side = 0 0:3/0 = 0 -0:3/0/z_index = 1 0:3/0/terrain_set = 0 0:3/0/terrain = 0 0:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) 1:3/0 = 0 -1:3/0/z_index = 1 1:3/0/terrain_set = 0 1:3/0/terrain = 0 1:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) 1:3/0/terrains_peering_bit/right_side = 0 2:3/0 = 0 -2:3/0/z_index = 1 2:3/0/terrain_set = 0 2:3/0/terrain = 0 2:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) 2:3/0/terrains_peering_bit/right_side = 0 2:3/0/terrains_peering_bit/left_side = 0 3:3/0 = 0 -3:3/0/z_index = 1 3:3/0/terrain_set = 0 3:3/0/terrain = 0 3:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) 3:3/0/terrains_peering_bit/left_side = 0 4:3/0 = 0 -4:3/0/z_index = 1 4:3/0/terrain_set = 0 4:3/0/terrain = 0 4:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) @@ -368,7 +327,6 @@ texture_region_size = Vector2i(18, 18) 4:3/0/terrains_peering_bit/left_side = 0 4:3/0/terrains_peering_bit/top_side = 0 5:3/0 = 0 -5:3/0/z_index = 1 5:3/0/terrain_set = 0 5:3/0/terrain = 0 5:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) @@ -377,7 +335,6 @@ texture_region_size = Vector2i(18, 18) 5:3/0/terrains_peering_bit/top_side = 0 5:3/0/terrains_peering_bit/top_right_corner = 0 6:3/0 = 0 -6:3/0/z_index = 1 6:3/0/terrain_set = 0 6:3/0/terrain = 0 6:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) @@ -386,7 +343,6 @@ texture_region_size = Vector2i(18, 18) 6:3/0/terrains_peering_bit/top_left_corner = 0 6:3/0/terrains_peering_bit/top_side = 0 7:3/0 = 0 -7:3/0/z_index = 1 7:3/0/terrain_set = 0 7:3/0/terrain = 0 7:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) @@ -396,7 +352,6 @@ texture_region_size = Vector2i(18, 18) 7:3/0/terrains_peering_bit/left_side = 0 7:3/0/terrains_peering_bit/top_side = 0 8:3/0 = 0 -8:3/0/z_index = 1 8:3/0/terrain_set = 0 8:3/0/terrain = 0 8:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) @@ -404,7 +359,6 @@ texture_region_size = Vector2i(18, 18) 8:3/0/terrains_peering_bit/top_side = 0 8:3/0/terrains_peering_bit/top_right_corner = 0 9:3/0 = 0 -9:3/0/z_index = 1 9:3/0/terrain_set = 0 9:3/0/terrain = 0 9:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) @@ -414,7 +368,6 @@ texture_region_size = Vector2i(18, 18) 9:3/0/terrains_peering_bit/top_side = 0 9:3/0/terrains_peering_bit/top_right_corner = 0 10:3/0 = 0 -10:3/0/z_index = 1 10:3/0/terrain_set = 0 10:3/0/terrain = 0 10:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) @@ -425,7 +378,6 @@ texture_region_size = Vector2i(18, 18) 10:3/0/terrains_peering_bit/top_side = 0 10:3/0/terrains_peering_bit/top_right_corner = 0 11:3/0 = 0 -11:3/0/z_index = 1 11:3/0/terrain_set = 0 11:3/0/terrain = 0 11:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)