2025-06-23 09:01:43 +00:00
|
|
|
[gd_scene load_steps=8 format=3 uid="uid://dayyx4jerj7io"]
|
2024-12-25 12:24:34 +00:00
|
|
|
|
2025-03-10 13:03:34 +00:00
|
|
|
[ext_resource type="Script" uid="uid://bee4ot74k4wg2" path="res://scene/ground/ground.gd" id="1_0vrlo"]
|
2025-01-14 00:56:51 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://cjhw5ecygrqty" path="res://scene/player/main_player.tscn" id="3_atha7"]
|
2025-01-06 08:06:20 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://61pis75a8fdq" path="res://scene/entity/portal.tscn" id="3_t73yw"]
|
2025-01-16 12:24:21 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://cqkeegrcdjyg4" path="res://scene/ground/camera/camera_focus_marker.tscn" id="4_mgk0a"]
|
2025-03-10 13:03:34 +00:00
|
|
|
[ext_resource type="Script" uid="uid://dpnny2y808k71" path="res://config/audio/random_audio_stream_player.gd" id="5_7mb2q"]
|
2024-12-25 12:24:34 +00:00
|
|
|
|
2025-06-06 16:19:37 +00:00
|
|
|
[sub_resource type="Gradient" id="Gradient_p7aaq"]
|
|
|
|
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 1)
|
|
|
|
|
|
|
|
[sub_resource type="GradientTexture2D" id="GradientTexture2D_6ggqv"]
|
|
|
|
gradient = SubResource("Gradient_p7aaq")
|
|
|
|
width = 15000
|
|
|
|
height = 500
|
|
|
|
|
2025-01-21 13:49:37 +00:00
|
|
|
[node name="Ground" type="Node2D"]
|
2024-12-25 12:24:34 +00:00
|
|
|
script = ExtResource("1_0vrlo")
|
|
|
|
|
2025-01-12 11:36:41 +00:00
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
|
|
|
2024-12-26 13:58:37 +00:00
|
|
|
[node name="BGSprite2D" type="Sprite2D" parent="."]
|
2024-12-25 12:24:34 +00:00
|
|
|
unique_name_in_owner = true
|
2025-01-25 05:57:28 +00:00
|
|
|
z_index = -5
|
2024-12-25 12:24:34 +00:00
|
|
|
centered = false
|
2025-01-06 08:06:20 +00:00
|
|
|
offset = Vector2(0, -120)
|
2024-12-25 12:24:34 +00:00
|
|
|
|
2024-12-26 13:58:37 +00:00
|
|
|
[node name="DeployLayer" type="Node2D" parent="."]
|
2024-12-25 12:24:34 +00:00
|
|
|
unique_name_in_owner = true
|
|
|
|
|
2025-01-12 11:36:41 +00:00
|
|
|
[node name="portal_left" parent="DeployLayer" instance=ExtResource("3_t73yw")]
|
2025-01-30 04:50:52 +00:00
|
|
|
position = Vector2(41, 6)
|
2025-01-06 08:06:20 +00:00
|
|
|
|
2025-01-12 11:36:41 +00:00
|
|
|
[node name="portal_right" parent="DeployLayer" instance=ExtResource("3_t73yw")]
|
2025-01-30 04:50:52 +00:00
|
|
|
position = Vector2(518, 6)
|
2025-01-06 08:06:20 +00:00
|
|
|
portal_name = "right"
|
|
|
|
|
2025-01-05 11:25:13 +00:00
|
|
|
[node name="AmbientLayer" type="Node2D" parent="."]
|
|
|
|
|
2025-01-21 10:52:36 +00:00
|
|
|
[node name="MainPlayer" parent="." node_paths=PackedStringArray("camera_marker") instance=ExtResource("3_atha7")]
|
2025-01-14 00:56:51 +00:00
|
|
|
unique_name_in_owner = true
|
2025-01-30 04:50:52 +00:00
|
|
|
position = Vector2(41, 88)
|
2025-01-21 13:49:37 +00:00
|
|
|
camera_marker = NodePath("../CameraFocusMarker")
|
2025-01-14 00:56:51 +00:00
|
|
|
|
2025-01-21 13:49:37 +00:00
|
|
|
[node name="CameraFocusMarker" parent="." node_paths=PackedStringArray("focusing_node") instance=ExtResource("4_mgk0a")]
|
2025-01-16 12:24:21 +00:00
|
|
|
unique_name_in_owner = true
|
2025-01-21 13:49:37 +00:00
|
|
|
position = Vector2(26, 88)
|
|
|
|
focusing_node = NodePath("../MainPlayer")
|
2025-01-16 12:24:21 +00:00
|
|
|
|
2024-12-25 12:24:34 +00:00
|
|
|
[node name="ParallaxForeground" type="ParallaxBackground" parent="."]
|
|
|
|
unique_name_in_owner = true
|
2025-01-05 11:25:13 +00:00
|
|
|
layer = 2
|
2024-12-25 12:24:34 +00:00
|
|
|
|
2024-12-26 13:58:37 +00:00
|
|
|
[node name="BGParallaxLayer" type="ParallaxLayer" parent="ParallaxForeground"]
|
|
|
|
|
|
|
|
[node name="FGParallaxLayer" type="ParallaxLayer" parent="ParallaxForeground"]
|
2024-12-25 12:24:34 +00:00
|
|
|
motion_scale = Vector2(1.1, 1.1)
|
|
|
|
|
2024-12-26 13:58:37 +00:00
|
|
|
[node name="FGSprite2D" type="Sprite2D" parent="ParallaxForeground/FGParallaxLayer"]
|
2024-12-25 12:24:34 +00:00
|
|
|
unique_name_in_owner = true
|
|
|
|
centered = false
|
2025-01-30 04:50:52 +00:00
|
|
|
offset = Vector2(0, -120)
|
|
|
|
|
|
|
|
[node name="PlayerLine2D" type="Line2D" parent="ParallaxForeground"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
points = PackedVector2Array(37, 150, 519, 150)
|
2024-12-25 12:24:34 +00:00
|
|
|
|
2025-01-05 11:25:13 +00:00
|
|
|
[node name="DirectionalLight2D" type="DirectionalLight2D" parent="."]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
blend_mode = 2
|
|
|
|
range_layer_max = 2
|
|
|
|
shadow_color = Color(0.333333, 0.333333, 0.333333, 0.34902)
|
|
|
|
height = 0.5
|
2025-01-14 00:56:51 +00:00
|
|
|
|
|
|
|
[node name="FootstepAudioPlayer" type="AudioStreamPlayer" parent="."]
|
|
|
|
unique_name_in_owner = true
|
2025-05-21 11:03:44 +00:00
|
|
|
bus = &"game_sfx"
|
2025-01-14 00:56:51 +00:00
|
|
|
script = ExtResource("5_7mb2q")
|
2025-06-19 08:00:59 +00:00
|
|
|
metadata/_custom_type_script = "uid://dpnny2y808k71"
|
2025-06-06 16:19:37 +00:00
|
|
|
|
|
|
|
[node name="UIPointLight2D" type="PointLight2D" parent="."]
|
|
|
|
position = Vector2(7000, 0)
|
|
|
|
blend_mode = 2
|
|
|
|
range_item_cull_mask = 16
|
|
|
|
texture = SubResource("GradientTexture2D_6ggqv")
|