12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- [gd_scene load_steps=6 format=3 uid="uid://dxvx70pt1rc15"]
- [ext_resource type="Script" path="res://Scripts/Main.gd" id="1_12byx"]
- [ext_resource type="PackedScene" uid="uid://crjb0i1rbk4uc" path="res://Scenes/Player.tscn" id="2_41wvl"]
- [ext_resource type="PackedScene" uid="uid://dx8lbd6yta0qx" path="res://Scenes/Mob.tscn" id="3_0n2xp"]
- [ext_resource type="PackedScene" uid="uid://cw4hkuofe41pe" path="res://Scenes/HUD.tscn" id="4_kmdt2"]
- [sub_resource type="Curve2D" id="Curve2D_8pb0l"]
- _data = {
- "points": PackedVector2Array(0, 0, 0, 0, -2, 2, 0, 0, 0, 0, 479, 0, 0, 0, 0, 0, 480, 720, 0, 0, 0, 0, -2, 717, 0, 0, 0, 0, -2, 2)
- }
- point_count = 5
- [node name="Root" type="Node2D"]
- script = ExtResource("1_12byx")
- mob_scene = ExtResource("3_0n2xp")
- [node name="Player" parent="." instance=ExtResource("2_41wvl")]
- position = Vector2(239, 343)
- [node name="MobTimer" type="Timer" parent="."]
- wait_time = 0.579
- [node name="ScoreTimer" type="Timer" parent="."]
- [node name="StartTimer" type="Timer" parent="."]
- [node name="StartPosition" type="Marker2D" parent="."]
- position = Vector2(234, 345)
- [node name="MobPath" type="Path2D" parent="."]
- curve = SubResource("Curve2D_8pb0l")
- [node name="MobSpawnLocation" type="PathFollow2D" parent="MobPath"]
- position = Vector2(-2, 2)
- rotation = -0.00415798
- [node name="HUD" parent="." instance=ExtResource("4_kmdt2")]
- [connection signal="hit" from="Player" to="." method="game_over"]
- [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"]
|