xiandie/scene/ground/script/c03/鱼眼景深镜头.tscn

40 lines
1.6 KiB
Plaintext
Raw Normal View History

2025-06-17 07:18:56 +00:00
[gd_scene load_steps=5 format=3 uid="uid://deniapgcn3bv7"]
[ext_resource type="Script" uid="uid://c17bw2w6a8na6" path="res://scene/ground/script/c03/鱼眼景深镜头.gd" id="1_56a8k"]
[ext_resource type="Texture2D" uid="uid://jnnm4gb8tsp5" path="res://asset/art/scene/c01/s01_旧版序章/bg_夜晚有墙.png" id="1_pns71"]
[ext_resource type="Material" uid="uid://dp4uwpm8jlic2" path="res://scene/ground/script/c03/鱼眼镜头material.tres" id="2_v28hk"]
[ext_resource type="Texture2D" uid="uid://dxcn4gha8l5ce" path="res://asset/art/scene/c01/s01_旧版序章/e_老奶奶喂老鼠.png" id="3_q5xjx"]
[node name="鱼眼景深镜头" type="Node2D"]
script = ExtResource("1_56a8k")
camera_rect = Rect2(-550, -150, 1100, 300)
metadata/_edit_horizontal_guides_ = [-121.0]
[node name="ParallaxBackground" type="ParallaxBackground" parent="."]
[node name="BGLayer" type="ParallaxLayer" parent="ParallaxBackground"]
[node name="Sprite2D" type="Sprite2D" parent="ParallaxBackground/BGLayer"]
texture = ExtResource("1_pns71")
[node name="Layer1" type="ParallaxLayer" parent="ParallaxBackground"]
position = Vector2(1, 17)
motion_scale = Vector2(1.05, 1.01)
[node name="Sprite2D" type="Sprite2D" parent="ParallaxBackground/Layer1"]
position = Vector2(-2, 55)
texture = ExtResource("3_q5xjx")
[node name="Camera2D" type="Camera2D" parent="ParallaxBackground"]
unique_name_in_owner = true
position_smoothing_enabled = true
position_smoothing_speed = 7.0
[node name="ColorRect" type="ColorRect" parent="ParallaxBackground"]
material = ExtResource("2_v28hk")
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2