brique.tscn 836 B

1234567891011121314151617181920
  1. [gd_scene load_steps=5 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. [ext_resource type="Script" path="res://composants/objets/brique/brique.gd" id="2_gkrr0"]
  5. [sub_resource type="RectangleShape2D" id="RectangleShape2D_ong6t"]
  6. size = Vector2(40, 20)
  7. [node name="Brique" type="StaticBody2D"]
  8. physics_material_override = ExtResource("1_n3uct")
  9. script = ExtResource("2_gkrr0")
  10. [node name="Image" type="Sprite2D" parent="."]
  11. texture = ExtResource("2_6a5ki")
  12. centered = false
  13. [node name="Forme" type="CollisionShape2D" parent="."]
  14. position = Vector2(20, 10)
  15. shape = SubResource("RectangleShape2D_ong6t")