xiandie/scene/player/main_player.tscn

133 lines
4.0 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=10 format=3 uid="uid://cjhw5ecygrqty"]
2024-12-23 01:29:31 +00:00
[ext_resource type="Script" uid="uid://cwfiim4do4vtk" path="res://scene/player/main_player.gd" id="1_3a78y"]
[ext_resource type="SpriteFrames" uid="uid://b7fhheih1hbvf" path="res://config/animation/entity_sprite_frames.tres" id="2_3w63u"]
2025-06-06 16:19:37 +00:00
[ext_resource type="FontFile" uid="uid://bjmhscwn1ixj1" path="res://asset/font/字体/ChillJinshuSongMedium.otf" id="3_gk3xo"]
[ext_resource type="Script" uid="uid://g32um0mltv5d" path="res://addons/dialogue_manager/dialogue_label.gd" id="5_tclgd"]
2024-12-23 01:29:31 +00:00
2025-05-30 11:05:06 +00:00
[sub_resource type="Gradient" id="Gradient_gk3xo"]
2025-05-29 06:14:02 +00:00
interpolation_mode = 2
interpolation_color_space = 1
2025-06-06 16:19:37 +00:00
offsets = PackedFloat32Array(0, 0.295964, 0.68012, 0.989362)
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 0.294118, 1, 1, 1, 0, 1, 1, 1, 0)
2025-05-29 06:14:02 +00:00
[sub_resource type="GradientTexture2D" id="GradientTexture2D_gk3xo"]
2025-05-30 11:05:06 +00:00
gradient = SubResource("Gradient_gk3xo")
2025-05-29 06:14:02 +00:00
width = 512
height = 512
use_hdr = true
fill = 1
fill_from = Vector2(0.5, 0.5)
fill_to = Vector2(1, 1)
2025-06-06 16:19:37 +00:00
[sub_resource type="Gradient" id="Gradient_fr1i1"]
interpolation_mode = 2
interpolation_color_space = 1
offsets = PackedFloat32Array(0.119581, 0.702541, 0.989362)
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_e2i85"]
gradient = SubResource("Gradient_fr1i1")
width = 200
height = 200
use_hdr = true
fill = 1
fill_from = Vector2(0.5, 0.5)
fill_to = Vector2(1, 1)
2024-12-23 01:29:31 +00:00
[sub_resource type="RectangleShape2D" id="RectangleShape2D_fno82"]
2025-05-30 11:05:06 +00:00
size = Vector2(15, 180)
2024-12-23 01:29:31 +00:00
[node name="MainPlayer" type="CharacterBody2D"]
z_index = 5
collision_mask = 2
2024-12-23 01:29:31 +00:00
script = ExtResource("1_3a78y")
running_locked = true
metadata/_edit_vertical_guides_ = [-15.0, -3.0]
2024-12-23 01:29:31 +00:00
2025-05-30 11:05:06 +00:00
[node name="PointLight2D" type="PointLight2D" parent="."]
2025-06-06 16:19:37 +00:00
position = Vector2(0, -60)
energy = 0.8
2025-05-29 06:14:02 +00:00
range_item_cull_mask = 15
2025-06-14 08:46:32 +00:00
shadow_enabled = true
2025-05-29 06:14:02 +00:00
texture = SubResource("GradientTexture2D_gk3xo")
height = 10.0
[node name="CattyPointLight2D" type="PointLight2D" parent="."]
2025-06-18 13:48:59 +00:00
position = Vector2(0, -60)
energy = 0.0
range_item_cull_mask = 15
2025-06-14 08:46:32 +00:00
shadow_enabled = true
2025-06-06 16:19:37 +00:00
texture = SubResource("GradientTexture2D_e2i85")
height = 10.0
[node name="FootstepTimer" type="Timer" parent="."]
unique_name_in_owner = true
wait_time = 0.7
2024-12-23 01:29:31 +00:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0, -50)
2024-12-23 01:29:31 +00:00
shape = SubResource("RectangleShape2D_fno82")
[node name="OSPivot" type="Control" parent="."]
unique_name_in_owner = true
layout_mode = 3
anchors_preset = 0
2025-06-14 08:46:32 +00:00
offset_top = -120.0
offset_bottom = -120.0
scale = Vector2(0.33, 0.33)
mouse_filter = 2
[node name="MarginContainer" type="MarginContainer" parent="OSPivot"]
custom_minimum_size = Vector2(235, 30)
layout_mode = 1
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -116.0
offset_top = -158.0
offset_right = 104.0
grow_horizontal = 2
grow_vertical = 0
size_flags_horizontal = 4
size_flags_vertical = 8
mouse_filter = 2
[node name="PanelContainer" type="PanelContainer" parent="OSPivot/MarginContainer"]
unique_name_in_owner = true
light_mask = 16
layout_mode = 2
size_flags_vertical = 8
mouse_filter = 2
theme_type_variation = &"os_panel_container"
[node name="OSLabel" type="RichTextLabel" parent="OSPivot/MarginContainer/PanelContainer"]
unique_name_in_owner = true
light_mask = 16
2025-01-14 00:56:51 +00:00
clip_contents = false
layout_mode = 2
size_flags_vertical = 8
mouse_filter = 2
2025-06-06 16:19:37 +00:00
theme_override_constants/line_separation = 2
theme_override_fonts/normal_font = ExtResource("3_gk3xo")
theme_override_font_sizes/normal_font_size = 23
bbcode_enabled = true
2025-06-14 08:46:32 +00:00
text = "os 测试文本"
fit_content = true
2025-01-14 00:56:51 +00:00
scroll_following = true
script = ExtResource("5_tclgd")
skip_action = &""
seconds_per_step = 0.05
skip_pause_at_abbreviations = PackedStringArray("Mr", "Mrs", "Ms", "Dr", "etc", "eg", "ex")
seconds_per_pause_step = 0.15
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
unique_name_in_owner = true
light_mask = 9
2025-04-20 10:21:11 +00:00
scale = Vector2(0.5, 0.5)
sprite_frames = ExtResource("2_3w63u")
2025-06-18 03:30:36 +00:00
animation = &"c00_吕萍_idle_right"
2025-04-01 08:09:34 +00:00
offset = Vector2(0, -100)