brique.tscn 857 B

123456789101112131415161718192021
  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_ong6t"]
  6. size = Vector2(30, 16)
  7. [node name="Brique" type="StaticBody2D"]
  8. collision_layer = 16
  9. physics_material_override = ExtResource("1_exny1")
  10. script = ExtResource("2_gkrr0")
  11. [node name="Image" type="Sprite2D" parent="."]
  12. texture = ExtResource("3_72vd6")
  13. centered = false
  14. [node name="Forme" type="CollisionShape2D" parent="."]
  15. position = Vector2(15, 8)
  16. shape = SubResource("RectangleShape2D_ong6t")