[gd_scene load_steps=6 format=3 uid="uid://b28d5a4be36qa"]

[ext_resource type="PhysicsMaterial" uid="uid://c6bddricwmcxx" path="res://ressources/materiaux/metal.tres" id="1_h5k8j"]
[ext_resource type="Script" path="res://composants/objets/arene/arene.gd" id="2_4mq1v"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_cjamf"]
size = Vector2(820, 200)

[sub_resource type="RectangleShape2D" id="RectangleShape2D_d3hv4"]
size = Vector2(200, 1200)

[sub_resource type="RectangleShape2D" id="RectangleShape2D_u5oj2"]
size = Vector2(420, 420)

[node name="Arene" type="StaticBody2D"]
collision_layer = 4
physics_material_override = ExtResource("1_h5k8j")
script = ExtResource("2_4mq1v")

[node name="Haut" type="CollisionShape2D" parent="."]
position = Vector2(210, -100)
shape = SubResource("RectangleShape2D_cjamf")

[node name="Droite" type="CollisionShape2D" parent="."]
position = Vector2(520, 400)
shape = SubResource("RectangleShape2D_d3hv4")

[node name="Gauche" type="CollisionShape2D" parent="."]
position = Vector2(-100, 400)
shape = SubResource("RectangleShape2D_d3hv4")

[node name="ZoneExterieure" type="Area2D" parent="."]
position = Vector2(210, 642)
collision_layer = 4
monitorable = false

[node name="FormeZone" type="CollisionShape2D" parent="ZoneExterieure"]
shape = SubResource("RectangleShape2D_u5oj2")

[connection signal="body_entered" from="ZoneExterieure" to="." method="_quand_zone_exterieure_detecte_entree"]
