brique.tscn 940 B

123456789101112131415161718192021222324
  1. [gd_scene load_steps=5 format=3 uid="uid://brd8yid3l7wgm"]
  2. [ext_resource type="PhysicsMaterial" uid="uid://c6bddricwmcxx" path="res://ressources/materiaux/metal.tres" id="1_exny1"]
  3. [ext_resource type="Script" path="res://composants/objets/brique/brique.gd" id="2_gkrr0"]
  4. [ext_resource type="Texture2D" uid="uid://r7iyjvdve5a1" path="res://composants/objets/brique/images/01.png" id="3_72vd6"]
  5. [sub_resource type="RectangleShape2D" id="RectangleShape2D_tnj5s"]
  6. size = Vector2(30, 16)
  7. [node name="Brique" type="StaticBody2D"]
  8. collision_layer = 16
  9. collision_mask = 0
  10. physics_material_override = ExtResource("1_exny1")
  11. script = ExtResource("2_gkrr0")
  12. [node name="Image" type="Sprite2D" parent="."]
  13. texture = ExtResource("3_72vd6")
  14. centered = false
  15. [node name="Forme" type="CollisionShape2D" parent="."]
  16. visible = false
  17. position = Vector2(15, 8)
  18. shape = SubResource("RectangleShape2D_tnj5s")
  19. debug_color = Color(1, 0.6, 0.701961, 0.419608)