xiandie/scene/player/main_player.tscn

71 lines
2.3 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=7 format=3 uid="uid://cjhw5ecygrqty"]
2024-12-23 01:29:31 +00:00
[ext_resource type="Script" path="res://scene/player/main_player.gd" id="1_3a78y"]
[ext_resource type="SpriteFrames" uid="uid://c3s8u4ifaucpj" path="res://config/animation/entity_sprite_frames.tres" id="2_3w63u"]
[ext_resource type="Texture2D" uid="uid://may55b2uerbw" path="res://asset/art/neutral_point_light.png" id="3_h4uja"]
[ext_resource type="FontFile" uid="uid://coy0c115cjmv5" path="res://asset/font/MPLUS中文像素.TTF" id="4_4jk1c"]
[ext_resource type="Script" path="res://addons/dialogue_manager/dialogue_label.gd" id="5_tclgd"]
2024-12-23 01:29:31 +00:00
[sub_resource type="RectangleShape2D" id="RectangleShape2D_fno82"]
size = Vector2(78.25, 205.062)
2024-12-23 01:29:31 +00:00
[node name="MainPlayer" type="CharacterBody2D"]
collision_mask = 2
2024-12-23 01:29:31 +00:00
script = ExtResource("1_3a78y")
[node name="FootstepTimer" type="Timer" parent="."]
unique_name_in_owner = true
2024-12-23 01:29:31 +00:00
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
unique_name_in_owner = true
sprite_frames = ExtResource("2_3w63u")
2024-12-23 01:29:31 +00:00
animation = &"idle_r"
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_fno82")
[node name="PointLight2D" type="PointLight2D" parent="."]
position = Vector2(1, -44)
2024-12-23 01:29:31 +00:00
scale = Vector2(0.810547, 0.849609)
2025-01-06 08:06:20 +00:00
energy = 0.2
texture = ExtResource("3_h4uja")
2025-01-06 08:06:20 +00:00
texture_scale = 2.0
height = 20.0
[node name="OSPivot" type="Control" parent="."]
unique_name_in_owner = true
layout_mode = 3
anchors_preset = 0
offset_top = -20.0
offset_bottom = -20.0
[node name="MarginContainer" type="MarginContainer" parent="OSPivot"]
custom_minimum_size = Vector2(100, 0)
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -25.0
offset_top = -6.0
offset_right = 25.0
offset_bottom = 6.0
grow_horizontal = 2
grow_vertical = 2
[node name="OSLabel" type="RichTextLabel" parent="OSPivot/MarginContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(50, 0)
layout_mode = 2
mouse_filter = 2
theme_override_fonts/normal_font = ExtResource("4_4jk1c")
bbcode_enabled = true
text = "os:..."
fit_content = 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