balle.tscn 958 B

1234567891011121314151617181920212223242526
  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_ssf8u"]
  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"]
  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_ssf8u")
  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")
  18. [node name="VerificateurVisibilite" type="VisibleOnScreenNotifier2D" parent="."]
  19. [connection signal="screen_exited" from="VerificateurVisibilite" to="." method="_quand_verificateur_visibilite_detecte_sortie_ecran"]