2025-01-06 08:06:20 +00:00
|
|
|
[gd_scene load_steps=7 format=3 uid="uid://dayyx4jerj7io"]
|
2024-12-25 12:24:34 +00:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://scene/ground/ground.gd" id="1_0vrlo"]
|
|
|
|
[ext_resource type="Script" path="res://config/deploy/scene_config.gd" id="2_bx7rv"]
|
2025-01-06 08:06:20 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://61pis75a8fdq" path="res://scene/entity/portal.tscn" id="3_t73yw"]
|
2024-12-25 12:24:34 +00:00
|
|
|
[ext_resource type="Texture2D" uid="uid://by8h2yuqve7fw" path="res://asset/art/scene/c02/s06_院子回忆版/fg_有人.png" id="5_i5hii"]
|
|
|
|
|
|
|
|
[sub_resource type="Resource" id="Resource_6ux50"]
|
2025-01-03 08:07:35 +00:00
|
|
|
resource_local_to_scene = true
|
2024-12-25 12:24:34 +00:00
|
|
|
script = ExtResource("2_bx7rv")
|
2025-01-03 08:07:35 +00:00
|
|
|
player_y_fixed = true
|
|
|
|
player_y = 45
|
2024-12-27 07:56:45 +00:00
|
|
|
footstep_type = "concrete"
|
2025-01-03 08:07:35 +00:00
|
|
|
bgm = ""
|
2024-12-27 07:56:45 +00:00
|
|
|
|
2025-01-05 11:25:13 +00:00
|
|
|
[sub_resource type="GDScript" id="GDScript_qxugl"]
|
|
|
|
script/source = "extends CanvasLayer
|
|
|
|
|
|
|
|
func _ready() -> void:
|
|
|
|
layer = GlobalConfig.CANVAS_LAYER_HD_ENTITY
|
|
|
|
"
|
|
|
|
|
2024-12-25 12:24:34 +00:00
|
|
|
[node name="Ground" type="Node2D"]
|
|
|
|
script = ExtResource("1_0vrlo")
|
|
|
|
scene_config = SubResource("Resource_6ux50")
|
|
|
|
|
2025-01-06 08:06:20 +00:00
|
|
|
[node name="BGColorRect" type="ColorRect" parent="."]
|
|
|
|
custom_minimum_size = Vector2(664, 318)
|
|
|
|
anchors_preset = 4
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
offset_left = -50.0
|
|
|
|
offset_top = -159.0
|
|
|
|
offset_right = 614.0
|
|
|
|
offset_bottom = 159.0
|
|
|
|
grow_vertical = 2
|
|
|
|
mouse_filter = 2
|
|
|
|
color = Color(0, 0, 0, 1)
|
|
|
|
|
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
|
|
|
|
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-06 08:06:20 +00:00
|
|
|
[node name="PortalLeft" parent="DeployLayer" instance=ExtResource("3_t73yw")]
|
|
|
|
position = Vector2(26, -1)
|
|
|
|
|
|
|
|
[node name="PortalRight" parent="DeployLayer" instance=ExtResource("3_t73yw")]
|
|
|
|
position = Vector2(530, 0)
|
|
|
|
portal_name = "right"
|
|
|
|
|
2025-01-05 11:25:13 +00:00
|
|
|
[node name="AmbientLayer" type="Node2D" parent="."]
|
|
|
|
|
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
|
2024-12-27 07:56:45 +00:00
|
|
|
position = Vector2(-34, -118)
|
2024-12-25 12:24:34 +00:00
|
|
|
texture = ExtResource("5_i5hii")
|
|
|
|
centered = false
|
|
|
|
|
2025-01-02 11:01:44 +00:00
|
|
|
[node name="SubViewportContainer" type="SubViewportContainer" parent="."]
|
|
|
|
offset_right = 2256.0
|
|
|
|
offset_bottom = 1268.0
|
|
|
|
scale = Vector2(0.25, 0.25)
|
2025-01-07 10:54:50 +00:00
|
|
|
mouse_filter = 2
|
2025-01-02 11:01:44 +00:00
|
|
|
|
|
|
|
[node name="SubViewport" type="SubViewport" parent="SubViewportContainer"]
|
|
|
|
transparent_bg = true
|
|
|
|
handle_input_locally = false
|
|
|
|
canvas_item_default_texture_filter = 0
|
|
|
|
size = Vector2i(2256, 1268)
|
|
|
|
render_target_update_mode = 4
|
|
|
|
|
|
|
|
[node name="HdLayer" type="CanvasLayer" parent="SubViewportContainer/SubViewport"]
|
2025-01-05 11:25:13 +00:00
|
|
|
script = SubResource("GDScript_qxugl")
|
|
|
|
|
|
|
|
[node name="DirectionalLight2D" type="DirectionalLight2D" parent="."]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
blend_mode = 2
|
|
|
|
range_layer_max = 2
|
|
|
|
shadow_enabled = true
|
|
|
|
shadow_color = Color(0.333333, 0.333333, 0.333333, 0.34902)
|
|
|
|
height = 0.5
|