|
@@ -1,13 +1,15 @@
|
|
|
-[gd_scene load_steps=4 format=3 uid="uid://brd8yid3l7wgm"]
|
|
|
+[gd_scene load_steps=5 format=3 uid="uid://brd8yid3l7wgm"]
|
|
|
|
|
|
[ext_resource type="PhysicsMaterial" uid="uid://c6bddricwmcxx" path="res://commun/materiaux/metal.tres" id="1_n3uct"]
|
|
|
[ext_resource type="Texture2D" uid="uid://qacibmumlx1s" path="res://composants/objets/brique/common_brick.png" id="2_6a5ki"]
|
|
|
+[ext_resource type="Script" path="res://composants/objets/brique/brique.gd" id="2_gkrr0"]
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ong6t"]
|
|
|
size = Vector2(40, 20)
|
|
|
|
|
|
[node name="Brique" type="StaticBody2D"]
|
|
|
physics_material_override = ExtResource("1_n3uct")
|
|
|
+script = ExtResource("2_gkrr0")
|
|
|
|
|
|
[node name="Image" type="Sprite2D" parent="."]
|
|
|
texture = ExtResource("2_6a5ki")
|