1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- [gd_scene load_steps=7 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"]
- [ext_resource type="Script" path="res://composants/objets/arene/hack_detection_statique.gd" id="3_k2opa"]
- [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="Node2D"]
- script = ExtResource("2_4mq1v")
- [node name="Murs" type="StaticBody2D" parent="."]
- collision_layer = 4
- physics_material_override = ExtResource("1_h5k8j")
- [node name="Haut" type="CollisionShape2D" parent="Murs"]
- position = Vector2(210, -100)
- shape = SubResource("RectangleShape2D_cjamf")
- [node name="Droite" type="CollisionShape2D" parent="Murs"]
- position = Vector2(520, 400)
- shape = SubResource("RectangleShape2D_d3hv4")
- [node name="Gauche" type="CollisionShape2D" parent="Murs"]
- position = Vector2(-100, 400)
- shape = SubResource("RectangleShape2D_d3hv4")
- [node name="ZoneExterieure" type="Area2D" parent="."]
- position = Vector2(210, 642)
- collision_layer = 4
- collision_mask = 17
- script = ExtResource("3_k2opa")
- [node name="FormeZone" type="CollisionShape2D" parent="ZoneExterieure"]
- shape = SubResource("RectangleShape2D_u5oj2")
- [connection signal="body_entered" from="ZoneExterieure" to="." method="_quand_zone_exterieure_detecte_entree"]
|