raquette.tscn 896 B

123456789101112131415161718192021
  1. [gd_scene load_steps=5 format=3 uid="uid://cpo1b44exbbyf"]
  2. [ext_resource type="PhysicsMaterial" uid="uid://c6bddricwmcxx" path="res://ressources/materiaux/metal.tres" id="1_cuq4l"]
  3. [ext_resource type="Script" path="res://composants/objets/raquette/raquette.gd" id="2_t4r17"]
  4. [ext_resource type="Texture2D" uid="uid://blc5i1iovhwuw" path="res://composants/objets/raquette/sprite.png" id="3_n2v48"]
  5. [sub_resource type="RectangleShape2D" id="RectangleShape2D_ong6t"]
  6. size = Vector2(120, 14)
  7. [node name="Raquette" type="StaticBody2D" groups=["groupe_des_raquettes"]]
  8. collision_layer = 2
  9. collision_mask = 9
  10. physics_material_override = ExtResource("1_cuq4l")
  11. script = ExtResource("2_t4r17")
  12. [node name="Image" type="Sprite2D" parent="."]
  13. texture = ExtResource("3_n2v48")
  14. [node name="Forme" type="CollisionShape2D" parent="."]
  15. position = Vector2(0, 2)
  16. shape = SubResource("RectangleShape2D_ong6t")