40 lines
1.6 KiB
Plaintext
40 lines
1.6 KiB
Plaintext
[gd_scene format=3 uid="uid://62ecirhdonkh"]
|
|
|
|
[ext_resource type="Script" uid="uid://40xnax86ff5v" path="res://main.gd" id="1_h2yge"]
|
|
[ext_resource type="PackedScene" uid="uid://jb11l53ss1a5" path="res://player.tscn" id="1_ig7tw"]
|
|
[ext_resource type="PackedScene" uid="uid://dbqx3rs3h3hfp" path="res://mob.tscn" id="2_1bvp3"]
|
|
|
|
[sub_resource type="Curve2D" id="Curve2D_ig7tw"]
|
|
_data = {
|
|
"points": PackedVector2Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 480, 0, 0, 0, 0, 0, 480, 720, 0, 0, 0, 0, 0, 720, 0, 0, 0, 0, 0, 0)
|
|
}
|
|
point_count = 5
|
|
|
|
[node name="Main" type="Node" unique_id=1884465277]
|
|
script = ExtResource("1_h2yge")
|
|
mob_scene = ExtResource("2_1bvp3")
|
|
|
|
[node name="Player" parent="." unique_id=1124984874 instance=ExtResource("1_ig7tw")]
|
|
|
|
[node name="MobTimer" type="Timer" parent="." unique_id=1437812380]
|
|
wait_time = 0.5
|
|
|
|
[node name="ScoreTimer" type="Timer" parent="." unique_id=298649566]
|
|
|
|
[node name="StartTimer" type="Timer" parent="." unique_id=418003132]
|
|
wait_time = 2.0
|
|
one_shot = true
|
|
|
|
[node name="StartPosition" type="Marker2D" parent="." unique_id=9996898]
|
|
position = Vector2(240, 450)
|
|
|
|
[node name="MobPath" type="Path2D" parent="." unique_id=910062391]
|
|
curve = SubResource("Curve2D_ig7tw")
|
|
|
|
[node name="MobSpawnLocation" type="PathFollow2D" parent="MobPath" unique_id=1309929511]
|
|
|
|
[connection signal="hit" from="Player" to="." method="_on_player_hit"]
|
|
[connection signal="timeout" from="MobTimer" to="." method="_on_mob_timer_timeout"]
|
|
[connection signal="timeout" from="ScoreTimer" to="." method="_on_score_timer_timeout"]
|
|
[connection signal="timeout" from="StartTimer" to="." method="_on_start_timer_timeout"]
|