[gd_scene load_steps=8 format=3 uid="uid://cjhw5ecygrqty"] [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"] [ext_resource type="Texture2D" uid="uid://cehulj6qro08v" path="res://asset/art/ui/对话框.png" id="4_0qo0c"] [ext_resource type="FontFile" uid="uid://b4cp4ybtxyvdn" path="res://asset/font/MPLUS中文像素.TTF" id="4_4jk1c"] [ext_resource type="Script" uid="uid://g32um0mltv5d" path="res://addons/dialogue_manager/dialogue_label.gd" id="5_tclgd"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_fno82"] size = Vector2(50, 180) [sub_resource type="StyleBoxTexture" id="StyleBoxTexture_j5yhp"] texture = ExtResource("4_0qo0c") texture_margin_left = 6.0 texture_margin_top = 6.0 texture_margin_right = 6.0 texture_margin_bottom = 6.0 expand_margin_left = 2.0 expand_margin_top = 2.0 expand_margin_right = 2.0 expand_margin_bottom = 2.0 axis_stretch_horizontal = 2 axis_stretch_vertical = 2 region_rect = Rect2(24, 76, 38, 24) modulate_color = Color(0.996078, 0.92549, 0.85098, 0.733333) [node name="MainPlayer" type="CharacterBody2D"] z_index = 5 collision_mask = 2 script = ExtResource("1_3a78y") character = "小小蝶" running_locked = true metadata/_edit_vertical_guides_ = [-120.0] metadata/_edit_horizontal_guides_ = [-9.0] [node name="FootstepTimer" type="Timer" parent="."] unique_name_in_owner = true wait_time = 0.5 [node name="CollisionShape2D" type="CollisionShape2D" parent="."] position = Vector2(0, -50) shape = SubResource("RectangleShape2D_fno82") [node name="OSPivot" type="Control" parent="."] unique_name_in_owner = true layout_mode = 3 anchors_preset = 0 offset_top = -70.0 offset_bottom = -70.0 mouse_filter = 2 [node name="MarginContainer" type="MarginContainer" parent="OSPivot"] layout_mode = 1 anchors_preset = 7 anchor_left = 0.5 anchor_top = 1.0 anchor_right = 0.5 anchor_bottom = 1.0 offset_left = -60.0 offset_top = -21.0 offset_right = 60.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 custom_minimum_size = Vector2(70, 0) layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 4 mouse_filter = 2 theme_override_styles/panel = SubResource("StyleBoxTexture_j5yhp") [node name="OSLabel" type="RichTextLabel" parent="OSPivot/MarginContainer/PanelContainer"] unique_name_in_owner = true clip_contents = false custom_minimum_size = Vector2(70, 0) layout_mode = 2 mouse_filter = 2 theme_override_fonts/normal_font = ExtResource("4_4jk1c") theme_override_font_sizes/normal_font_size = 8 bbcode_enabled = true text = "os 测试文本" fit_content = true 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 sprite_frames = ExtResource("2_3w63u") animation = &"c01_小小蝶_书店递报纸" offset = Vector2(0, -37)