2026-05-05 12:19:12 +08:00
|
|
|
[gd_scene format=3 uid="uid://dmxi1ikn6avig"]
|
2025-08-26 13:56:12 +08:00
|
|
|
|
2025-11-09 17:00:39 +08:00
|
|
|
[ext_resource type="Script" uid="uid://d2oyyyg0b4qqd" path="res://scripts/Tools/Managers/WorldManager.gd" id="1_lxsxj"]
|
2025-08-26 13:56:12 +08:00
|
|
|
[ext_resource type="PackedScene" uid="uid://dfwg750a47ggx" path="res://components/Scenes/UI.tscn" id="2_04cdd"]
|
2025-09-05 22:23:41 +08:00
|
|
|
[ext_resource type="Texture2D" uid="uid://c33c8mtm4x3e3" path="res://resources/maps/Galaxy.png" id="4_oy4jj"]
|
2025-11-09 17:00:39 +08:00
|
|
|
[ext_resource type="Script" uid="uid://bs45p8w83d4b4" path="res://scripts/Tools/Managers/CameraManager.gd" id="5_mk7bv"]
|
2025-08-26 13:56:12 +08:00
|
|
|
|
2025-08-28 14:15:01 +08:00
|
|
|
[sub_resource type="Animation" id="Animation_ykpvi"]
|
|
|
|
|
length = 0.001
|
2025-08-28 12:00:09 +08:00
|
|
|
tracks/0/type = "bezier"
|
|
|
|
|
tracks/0/imported = false
|
|
|
|
|
tracks/0/enabled = true
|
|
|
|
|
tracks/0/path = NodePath(".:zoom:x")
|
|
|
|
|
tracks/0/interp = 1
|
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
|
tracks/0/keys = {
|
2025-08-28 14:15:01 +08:00
|
|
|
"handle_modes": PackedInt32Array(0),
|
|
|
|
|
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0),
|
|
|
|
|
"times": PackedFloat32Array(0)
|
2025-08-28 12:00:09 +08:00
|
|
|
}
|
|
|
|
|
tracks/1/type = "bezier"
|
|
|
|
|
tracks/1/imported = false
|
|
|
|
|
tracks/1/enabled = true
|
|
|
|
|
tracks/1/path = NodePath(".:zoom:y")
|
|
|
|
|
tracks/1/interp = 1
|
|
|
|
|
tracks/1/loop_wrap = true
|
|
|
|
|
tracks/1/keys = {
|
2025-08-28 14:15:01 +08:00
|
|
|
"handle_modes": PackedInt32Array(0),
|
|
|
|
|
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0),
|
|
|
|
|
"times": PackedFloat32Array(0)
|
2025-08-28 12:00:09 +08:00
|
|
|
}
|
|
|
|
|
|
2025-08-28 14:15:01 +08:00
|
|
|
[sub_resource type="Animation" id="Animation_kii8h"]
|
|
|
|
|
resource_name = "bigLaser"
|
|
|
|
|
length = 5.0
|
|
|
|
|
step = 0.1
|
2025-08-28 12:00:09 +08:00
|
|
|
tracks/0/type = "bezier"
|
|
|
|
|
tracks/0/imported = false
|
|
|
|
|
tracks/0/enabled = true
|
|
|
|
|
tracks/0/path = NodePath(".:zoom:x")
|
|
|
|
|
tracks/0/interp = 1
|
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
|
tracks/0/keys = {
|
2025-08-28 14:15:01 +08:00
|
|
|
"handle_modes": PackedInt32Array(0, 0, 0),
|
2025-09-06 12:14:21 +08:00
|
|
|
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0, 2, -0.25, 0, 0.25, 0, 1, -0.25, 0, 0.25, 0),
|
|
|
|
|
"times": PackedFloat32Array(0, 0.5, 2)
|
2025-08-28 12:00:09 +08:00
|
|
|
}
|
|
|
|
|
tracks/1/type = "bezier"
|
|
|
|
|
tracks/1/imported = false
|
|
|
|
|
tracks/1/enabled = true
|
|
|
|
|
tracks/1/path = NodePath(".:zoom:y")
|
|
|
|
|
tracks/1/interp = 1
|
|
|
|
|
tracks/1/loop_wrap = true
|
|
|
|
|
tracks/1/keys = {
|
2025-08-28 14:15:01 +08:00
|
|
|
"handle_modes": PackedInt32Array(0, 0, 0),
|
2025-09-06 12:14:21 +08:00
|
|
|
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0, 2, -0.25, 0, 0.25, 0, 1, -0.25, 0, 0.25, 0),
|
|
|
|
|
"times": PackedFloat32Array(0, 0.5, 2)
|
2025-08-28 12:00:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_44ixa"]
|
|
|
|
|
_data = {
|
2025-11-09 17:00:39 +08:00
|
|
|
&"RESET": SubResource("Animation_ykpvi"),
|
|
|
|
|
&"bigLaser": SubResource("Animation_kii8h")
|
2025-08-28 12:00:09 +08:00
|
|
|
}
|
|
|
|
|
|
2025-12-22 13:16:27 +08:00
|
|
|
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_lu72f"]
|
|
|
|
|
normal = Vector2(0, 1)
|
2025-08-29 16:36:35 +08:00
|
|
|
|
2026-05-05 12:19:12 +08:00
|
|
|
[node name="world" type="Node2D" unique_id=1992792389]
|
2025-08-26 15:52:54 +08:00
|
|
|
y_sort_enabled = true
|
2025-09-21 16:17:49 +08:00
|
|
|
texture_filter = 1
|
2025-08-26 17:38:45 +08:00
|
|
|
script = ExtResource("1_lxsxj")
|
2025-08-28 14:15:01 +08:00
|
|
|
metadata/_edit_vertical_guides_ = [-1.0, 57.0]
|
2025-08-26 13:56:12 +08:00
|
|
|
|
2026-05-05 12:19:12 +08:00
|
|
|
[node name="spawner" type="MultiplayerSpawner" parent="." unique_id=1891214291]
|
2025-11-14 06:45:54 +08:00
|
|
|
unique_name_in_owner = true
|
|
|
|
|
spawn_path = NodePath("..")
|
|
|
|
|
|
2026-05-05 12:19:12 +08:00
|
|
|
[node name="UI" parent="." unique_id=1312059514 instance=ExtResource("2_04cdd")]
|
2025-08-26 13:56:12 +08:00
|
|
|
|
2026-05-05 12:19:12 +08:00
|
|
|
[node name="camera" type="Camera2D" parent="." unique_id=996511427]
|
2025-08-27 18:56:55 +08:00
|
|
|
process_mode = 3
|
2025-08-26 15:52:54 +08:00
|
|
|
process_callback = 0
|
2026-05-05 12:19:12 +08:00
|
|
|
limit_left = -2400
|
|
|
|
|
limit_top = -1800
|
|
|
|
|
limit_right = 2400
|
|
|
|
|
limit_bottom = 1800
|
|
|
|
|
editor_draw_limits = true
|
2025-08-28 06:49:50 +08:00
|
|
|
script = ExtResource("5_mk7bv")
|
2025-12-16 22:37:04 +08:00
|
|
|
constantOffset = Vector2(0, -80)
|
2025-08-28 12:00:09 +08:00
|
|
|
|
2026-05-05 12:19:12 +08:00
|
|
|
[node name="animator" type="AnimationPlayer" parent="camera" unique_id=619200978]
|
2025-08-28 12:00:09 +08:00
|
|
|
unique_name_in_owner = true
|
2026-05-05 12:19:12 +08:00
|
|
|
libraries/ = SubResource("AnimationLibrary_44ixa")
|
2025-08-28 16:02:58 +08:00
|
|
|
|
2026-05-05 12:19:12 +08:00
|
|
|
[node name="map" type="StaticBody2D" parent="." unique_id=385091617 groups=["map"]]
|
2026-01-27 20:52:26 +08:00
|
|
|
collision_layer = 6
|
|
|
|
|
collision_mask = 6
|
2025-09-05 22:23:41 +08:00
|
|
|
metadata/_edit_lock_ = true
|
2025-08-29 16:36:35 +08:00
|
|
|
|
2026-05-05 12:19:12 +08:00
|
|
|
[node name="background" type="Sprite2D" parent="map" unique_id=792319336]
|
2025-08-29 13:56:31 +08:00
|
|
|
z_index = -100
|
2025-08-29 16:36:35 +08:00
|
|
|
scale = Vector2(5, 5)
|
2025-09-05 22:23:41 +08:00
|
|
|
texture = ExtResource("4_oy4jj")
|
2025-09-21 16:17:49 +08:00
|
|
|
metadata/_edit_lock_ = true
|
2025-08-29 16:36:35 +08:00
|
|
|
|
2026-05-05 12:19:12 +08:00
|
|
|
[node name="borderTop" type="CollisionShape2D" parent="map" unique_id=320842136]
|
2025-12-22 13:16:27 +08:00
|
|
|
position = Vector2(0, -1800)
|
|
|
|
|
shape = SubResource("WorldBoundaryShape2D_lu72f")
|
2025-08-29 16:36:35 +08:00
|
|
|
|
2026-05-05 12:19:12 +08:00
|
|
|
[node name="borderTop2" type="CollisionShape2D" parent="map" unique_id=1208131017]
|
2025-12-22 13:16:27 +08:00
|
|
|
position = Vector2(0, 1800)
|
|
|
|
|
rotation = 3.1415927
|
|
|
|
|
shape = SubResource("WorldBoundaryShape2D_lu72f")
|
|
|
|
|
|
2026-05-05 12:19:12 +08:00
|
|
|
[node name="borderTop3" type="CollisionShape2D" parent="map" unique_id=585247179]
|
2025-12-22 13:16:27 +08:00
|
|
|
position = Vector2(2400, 0)
|
|
|
|
|
rotation = 1.5707964
|
|
|
|
|
shape = SubResource("WorldBoundaryShape2D_lu72f")
|
|
|
|
|
|
2026-05-05 12:19:12 +08:00
|
|
|
[node name="borderTop4" type="CollisionShape2D" parent="map" unique_id=320391894]
|
2025-12-22 13:16:27 +08:00
|
|
|
position = Vector2(-2400, 0)
|
|
|
|
|
rotation = -1.5707964
|
|
|
|
|
shape = SubResource("WorldBoundaryShape2D_lu72f")
|