balle.tscn 770 B

12345678910111213141516171819202122
  1. [gd_scene load_steps=4 format=3 uid="uid://vilrv0y5q2re"]
  2. [ext_resource type="Script" path="res://composants/objets/balle/balle.gd" id="1_n72rw"]
  3. [ext_resource type="Texture2D" uid="uid://bbpkc5fx4p34l" path="res://composants/objets/balle/ball_main0001.png" id="2_aab72"]
  4. [sub_resource type="CircleShape2D" id="CircleShape2D_lab73"]
  5. radius = 5.42
  6. [node name="Balle" type="CharacterBody2D" groups=["groupe_des_balles"]]
  7. collision_mask = 22
  8. motion_mode = 1
  9. wall_min_slide_angle = 0.0
  10. platform_floor_layers = 2
  11. platform_wall_layers = 4
  12. script = ExtResource("1_n72rw")
  13. [node name="Image" type="Sprite2D" parent="."]
  14. scale = Vector2(2, 2)
  15. texture = ExtResource("2_aab72")
  16. [node name="Forme" type="CollisionShape2D" parent="."]
  17. shape = SubResource("CircleShape2D_lab73")