PhysicsEngine.tscn 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. [gd_scene load_steps=5 format=3 uid="uid://cfr23honh8ul7"]
  2. [ext_resource type="Script" uid="uid://dujtdgtfgki4c" path="res://addons/slide_show/projector/slide/Slide.gd" id="1_ag2av"]
  3. [ext_resource type="PackedScene" uid="uid://bvrtmyq4g1qes" path="res://common/components/title/title.tscn" id="2_xa84e"]
  4. [ext_resource type="PackedScene" uid="uid://dpbr2u8co4824" path="res://slides/204/physics_demo/Bar.tscn" id="4_l048w"]
  5. [ext_resource type="Script" uid="uid://cqv2vfpwp78h2" path="res://slides/204/physics_demo/Spawner.gd" id="5_g1qkm"]
  6. [node name="PhysicsEngine" type="Node2D"]
  7. script = ExtResource("1_ag2av")
  8. processing_keep_when_disabled = true
  9. [node name="Title" parent="." instance=ExtResource("2_xa84e")]
  10. offset_left = 41.0
  11. offset_top = 28.0
  12. offset_right = 1800.0
  13. offset_bottom = 196.0
  14. text = "Moteur physique"
  15. [node name="Demo" type="Node2D" parent="."]
  16. [node name="Bar1" parent="Demo" instance=ExtResource("4_l048w")]
  17. position = Vector2(948, 473)
  18. rotation = 0.785397
  19. [node name="Bar2" parent="Demo" instance=ExtResource("4_l048w")]
  20. position = Vector2(1128, 954)
  21. [node name="Bar3" parent="Demo" instance=ExtResource("4_l048w")]
  22. position = Vector2(421, 911)
  23. rotation = 0.261799
  24. [node name="Bar4" parent="Demo" instance=ExtResource("4_l048w")]
  25. position = Vector2(1258, 634)
  26. rotation = -0.785397
  27. [node name="Bar5" parent="Demo" instance=ExtResource("4_l048w")]
  28. position = Vector2(760, 728)
  29. [node name="Spawner" type="Marker2D" parent="Demo"]
  30. position = Vector2(906, 239)
  31. script = ExtResource("5_g1qkm")
  32. dispersion_scale = Vector2(80, 40)
  33. delay = 0.25