balle_electrique.tscn 807 B

12345678910111213141516171819202122
  1. [gd_scene load_steps=4 format=3 uid="uid://crpfyx6e5kn45"]
  2. [ext_resource type="Script" path="res://composants/objets/balle/balle_elec/balle_electrique.gd" id="1_fuild"]
  3. [ext_resource type="Texture2D" uid="uid://blttr4e575gkk" path="res://composants/objets/balle/balle_elec/09.png" id="2_rvm4r"]
  4. [sub_resource type="CircleShape2D" id="CircleShape2D_lab73"]
  5. radius = 5.42
  6. [node name="BalleElectrique" 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_fuild")
  13. [node name="Image" type="Sprite2D" parent="."]
  14. position = Vector2(-3, 0)
  15. texture = ExtResource("2_rvm4r")
  16. [node name="Forme" type="CollisionShape2D" parent="."]
  17. shape = SubResource("CircleShape2D_lab73")