|
@@ -1,12 +1,9 @@
|
|
|
-[gd_scene load_steps=6 format=3 uid="uid://brd8yid3l7wgm"]
|
|
|
+[gd_scene load_steps=5 format=3 uid="uid://brd8yid3l7wgm"]
|
|
|
|
|
|
[ext_resource type="PhysicsMaterial" uid="uid://c6bddricwmcxx" path="res://ressources/materiaux/metal.tres" id="1_exny1"]
|
|
|
[ext_resource type="Script" path="res://composants/objets/brique/brique.gd" id="2_gkrr0"]
|
|
|
[ext_resource type="Texture2D" uid="uid://r7iyjvdve5a1" path="res://composants/objets/brique/images/01.png" id="3_72vd6"]
|
|
|
|
|
|
-[sub_resource type="RectangleShape2D" id="RectangleShape2D_ong6t"]
|
|
|
-size = Vector2(40, 26)
|
|
|
-
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_tnj5s"]
|
|
|
size = Vector2(30, 16)
|
|
|
|
|
@@ -15,21 +12,11 @@ collision_layer = 16
|
|
|
physics_material_override = ExtResource("1_exny1")
|
|
|
script = ExtResource("2_gkrr0")
|
|
|
|
|
|
-[node name="ZoneInfluence" type="Area2D" parent="."]
|
|
|
-collision_layer = 16
|
|
|
-collision_mask = 20
|
|
|
-monitoring = false
|
|
|
-
|
|
|
-[node name="FormeInfluence" type="CollisionShape2D" parent="ZoneInfluence"]
|
|
|
-visible = false
|
|
|
-position = Vector2(15, 8)
|
|
|
-shape = SubResource("RectangleShape2D_ong6t")
|
|
|
-
|
|
|
[node name="Image" type="Sprite2D" parent="."]
|
|
|
texture = ExtResource("3_72vd6")
|
|
|
centered = false
|
|
|
|
|
|
-[node name="FormeRebond" type="CollisionShape2D" parent="."]
|
|
|
+[node name="Forme" type="CollisionShape2D" parent="."]
|
|
|
visible = false
|
|
|
position = Vector2(15, 8)
|
|
|
shape = SubResource("RectangleShape2D_tnj5s")
|