[gd_scene load_steps=5 format=4 uid="uid://drwmmg2b6nlih"]

[ext_resource type="TileSet" uid="uid://ckj00wy20rkfx" path="res://assest/tilesets/exterieur.tres" id="1_7l72r"]
[ext_resource type="PackedScene" uid="uid://brh7cqaxc13ie" path="res://zindex/ZIndexControler.tscn" id="2_7bsc6"]

[sub_resource type="CircleShape2D" id="CircleShape2D_4c8ro"]
radius = 15.0

[sub_resource type="RectangleShape2D" id="RectangleShape2D_36vt6"]
size = Vector2(20, 3)

[node name="StaticBody2D" type="StaticBody2D"]

[node name="toit" type="TileMapLayer" parent="."]
z_index = 2000
tile_map_data = PackedByteArray("AAD9//3/BAAQAH8AAAD+//z/BAARAH4AAAD///v/BAASAH0AAAD///z/BAASAH4AAAD///3/BAASAH8AAAAAAPv/BAATAH0AAAAAAPz/BAATAH4AAAD+//3/BAARAH8AAAA=")
tile_set = ExtResource("1_7l72r")

[node name="TileMapLayer2" type="TileMapLayer" parent="toit"]
z_index = 2000
tile_map_data = PackedByteArray("AAD+//3/BAALAH0AAAD+//7/BAALAH4AAAA=")
tile_set = ExtResource("1_7l72r")

[node name="TileMapLayer3" type="TileMapLayer" parent="toit"]
z_index = 2000
position = Vector2(48, -27)
tile_map_data = PackedByteArray("AAD+//3/BAAVAH0AAAD+//7/BAAVAH4AAAA=")
tile_set = ExtResource("1_7l72r")

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(20, -15)
shape = SubResource("CircleShape2D_4c8ro")

[node name="TileMapLayer" type="TileMapLayer" parent="."]
tile_map_data = PackedByteArray("AAAAAP3/BAATAH8AAAAAAP7/BAATAIAAAAAAAP//BAATAIEAAAA=")
tile_set = ExtResource("1_7l72r")

[node name="ZIndexControler" parent="." instance=ExtResource("2_7bsc6")]
position = Vector2(-2, 6)

[node name="ShapeCast2D" type="ShapeCast2D" parent="ZIndexControler"]
position = Vector2(21, -15)
shape = SubResource("RectangleShape2D_36vt6")
target_position = Vector2(-2, -125)
