|
@@ -29,12 +29,12 @@ shape = SubResource("RectangleShape2D_d3hv4")
|
|
|
position = Vector2(-100, 400)
|
|
|
shape = SubResource("RectangleShape2D_d3hv4")
|
|
|
|
|
|
-[node name="ZoneInterieure" type="Area2D" parent="."]
|
|
|
-position = Vector2(210, 210)
|
|
|
+[node name="ZoneExterieure" type="Area2D" parent="."]
|
|
|
+position = Vector2(210, 642)
|
|
|
collision_layer = 4
|
|
|
monitorable = false
|
|
|
|
|
|
-[node name="FormeZone" type="CollisionShape2D" parent="ZoneInterieure"]
|
|
|
+[node name="FormeZone" type="CollisionShape2D" parent="ZoneExterieure"]
|
|
|
shape = SubResource("RectangleShape2D_u5oj2")
|
|
|
|
|
|
-[connection signal="body_exited" from="ZoneInterieure" to="." method="_quand_zone_interieure_detecte_sortie"]
|
|
|
+[connection signal="body_entered" from="ZoneExterieure" to="." method="_quand_zone_exterieure_detecte_entree"]
|