balle_spectrale.tscn 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. [gd_scene load_steps=5 format=3 uid="uid://bf7cq8j182cmh"]
  2. [ext_resource type="Script" path="res://composants/objets/balle/balle_spectrale/balle_spectrale.gd" id="1_snyek"]
  3. [ext_resource type="Texture2D" uid="uid://dqygu3upmpf3v" path="res://composants/objets/balle/balle_spectrale/07.png" id="2_sf2e6"]
  4. [ext_resource type="Texture2D" uid="uid://ca4u4slhbnjd8" path="res://composants/objets/balle/balle_spectrale/08.png" id="3_mhuq7"]
  5. [sub_resource type="CircleShape2D" id="CircleShape2D_lab73"]
  6. radius = 5.42
  7. [node name="BalleDeFeu" type="CharacterBody2D" groups=["groupe_des_balles"]]
  8. collision_mask = 22
  9. motion_mode = 1
  10. wall_min_slide_angle = 0.0
  11. platform_floor_layers = 2
  12. platform_wall_layers = 4
  13. script = ExtResource("1_snyek")
  14. [node name="ImageTangible" type="Sprite2D" parent="."]
  15. position = Vector2(-1, -3)
  16. rotation = 1.5708
  17. texture = ExtResource("2_sf2e6")
  18. [node name="ImageSpectre" type="Sprite2D" parent="."]
  19. visible = false
  20. modulate = Color(1, 1, 1, 0.784314)
  21. position = Vector2(-1, -3)
  22. rotation = 1.5708
  23. texture = ExtResource("3_mhuq7")
  24. [node name="Forme" type="CollisionShape2D" parent="."]
  25. shape = SubResource("CircleShape2D_lab73")