123456789101112131415161718192021222324252627282930313233343536 |
- [gd_scene load_steps=3 format=3 uid="uid://dtj3anpduro3e"]
- [ext_resource type="PackedScene" uid="uid://dpbr2u8co4824" path="res://slides/204/physics_demo/Bar.tscn" id="1_mm234"]
- [ext_resource type="Script" uid="uid://cqv2vfpwp78h2" path="res://slides/204/physics_demo/Spawner.gd" id="2_tlo74"]
- [node name="Demo" type="Node2D"]
- [node name="Bar1" parent="." instance=ExtResource("1_mm234")]
- position = Vector2(948, 473)
- rotation = 0.785397
- [node name="Bar2" parent="." instance=ExtResource("1_mm234")]
- position = Vector2(1128, 954)
- [node name="Bar3" parent="." instance=ExtResource("1_mm234")]
- position = Vector2(421, 911)
- rotation = 0.261799
- [node name="Bar4" parent="." instance=ExtResource("1_mm234")]
- position = Vector2(1258, 634)
- rotation = -0.785397
- [node name="Bar5" parent="." instance=ExtResource("1_mm234")]
- position = Vector2(760, 728)
- [node name="Spawner" type="Marker2D" parent="."]
- position = Vector2(906, 239)
- script = ExtResource("2_tlo74")
- dispersion_scale = Vector2(80, 40)
- [node name="SpawnInterval" type="Timer" parent="."]
- process_callback = 0
- wait_time = 0.3
- autostart = true
- [connection signal="timeout" from="SpawnInterval" to="Spawner" method="_on_delay_time_out"]
|