xiandie/scene/ground/ground_loader.tscn

95 lines
2.9 KiB
Plaintext

[gd_scene load_steps=7 format=3 uid="uid://clxgkj80yin2"]
[ext_resource type="Script" path="res://scene/ground/ground_loader.gd" id="1_6mjre"]
[ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="2_xtikv"]
[ext_resource type="Script" path="res://scene/ground/ground.gd" id="3_aiqgg"]
[ext_resource type="Script" path="res://config/deploy/scene_config.gd" id="4_vfq42"]
[ext_resource type="Texture2D" uid="uid://kc4726andgy2" path="res://asset/art/scene/c02/s01_街道/bg_公寓入口.png" id="5_ogvfs"]
[sub_resource type="Resource" id="Resource_6ux50"]
script = ExtResource("4_vfq42")
scene_name = ""
foreground_scale = Vector2(1.2, 1.2)
foreground_position = Vector2(0, 0)
background_scale = Vector2(1, 1)
background_position = Vector2(0, 0)
player_initial_position = Vector2(300, 186)
player_initial_direction = Vector2(1, -1)
player_movement_rect = Rect2(0, 0, 0, 0)
camera_rect = Rect2(0, -1000, 664, 2317)
footstep_type = "concrete"
[node name="GroundLoader" type="Node2D"]
script = ExtResource("1_6mjre")
[node name="Ground" parent="." instance=ExtResource("2_xtikv")]
script = ExtResource("3_aiqgg")
scene_config = SubResource("Resource_6ux50")
[node name="BGSprite2D" parent="Ground" index="0"]
unique_name_in_owner = true
texture = ExtResource("5_ogvfs")
centered = false
offset = Vector2(0, -119)
[node name="DeployLayer" parent="Ground" index="1"]
unique_name_in_owner = true
[node name="ParallaxForeground" parent="Ground" index="2"]
unique_name_in_owner = true
layer = 10
[node name="FGParallaxLayer" parent="Ground/ParallaxForeground" index="1"]
visible = false
motion_scale = Vector2(1.1, 1.1)
[node name="FGSprite2D" parent="Ground/ParallaxForeground/FGParallaxLayer" index="0"]
unique_name_in_owner = true
position = Vector2(-34, -118)
centered = false
[node name="ColorRectTop" parent="Ground/ParallaxForeground" index="2"]
unique_name_in_owner = true
visible = false
custom_minimum_size = Vector2(564, 38.5)
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -282.0
offset_right = 282.0
offset_bottom = 40.0
grow_horizontal = 2
mouse_filter = 2
color = Color(0.0519829, 0.0179176, 0.00269875, 1)
[node name="ColorRectBottom" parent="Ground/ParallaxForeground" index="3"]
unique_name_in_owner = true
visible = false
custom_minimum_size = Vector2(564, 38.5)
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -282.0
offset_top = -38.5
offset_right = 282.0
grow_horizontal = 2
grow_vertical = 0
mouse_filter = 2
color = Color(0.0519829, 0.0179176, 0.00269875, 1)
[node name="SubViewportContainer" parent="Ground" index="3"]
offset_right = 2256.0
offset_bottom = 1268.0
scale = Vector2(0.25, 0.25)
[node name="SubViewport" parent="Ground/SubViewportContainer" index="0"]
transparent_bg = true
handle_input_locally = false
canvas_item_default_texture_filter = 0
size = Vector2i(2256, 1268)
render_target_update_mode = 4
[editable path="Ground"]