brique.tscn 714 B

123456789101112131415161718
  1. [gd_scene load_steps=4 format=3 uid="uid://brd8yid3l7wgm"]
  2. [ext_resource type="PhysicsMaterial" uid="uid://c6bddricwmcxx" path="res://commun/materiaux/metal.tres" id="1_n3uct"]
  3. [ext_resource type="Texture2D" uid="uid://qacibmumlx1s" path="res://composants/objets/brique/common_brick.png" id="2_6a5ki"]
  4. [sub_resource type="RectangleShape2D" id="RectangleShape2D_ong6t"]
  5. size = Vector2(40, 20)
  6. [node name="Brique" type="StaticBody2D"]
  7. physics_material_override = ExtResource("1_n3uct")
  8. [node name="Image" type="Sprite2D" parent="."]
  9. texture = ExtResource("2_6a5ki")
  10. centered = false
  11. [node name="Forme" type="CollisionShape2D" parent="."]
  12. position = Vector2(20, 10)
  13. shape = SubResource("RectangleShape2D_ong6t")