[gd_scene load_steps=9 format=3 uid="uid://cjhw5ecygrqty"] [ext_resource type="Script" uid="uid://cwfiim4do4vtk" path="res://scene/character/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="PackedScene" uid="uid://dg122jjg5forc" path="res://scene/entity/ux/player_os.tscn" id="2_jgqhw"] [sub_resource type="Gradient" id="Gradient_gk3xo"] interpolation_mode = 2 interpolation_color_space = 1 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) [sub_resource type="GradientTexture2D" id="GradientTexture2D_gk3xo"] gradient = SubResource("Gradient_gk3xo") width = 512 height = 512 use_hdr = true fill = 1 fill_from = Vector2(0.5, 0.5) fill_to = Vector2(1, 1) [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) [sub_resource type="RectangleShape2D" id="RectangleShape2D_jwk3s"] size = Vector2(15, 180) [node name="MainPlayer" type="CharacterBody2D"] z_index = 5 collision_mask = 2 script = ExtResource("1_3a78y") catty_light_energy = 0.3 running_locked = true metadata/_edit_vertical_guides_ = [-15.0, -3.0] [node name="PointLight2D" type="PointLight2D" parent="."] position = Vector2(0, -60) energy = 1.2 range_item_cull_mask = 15 shadow_enabled = true texture = SubResource("GradientTexture2D_gk3xo") texture_scale = 0.5 height = 10.0 [node name="CattyPointLight2D" type="PointLight2D" parent="."] position = Vector2(0, -60) energy = 0.0 range_item_cull_mask = 15 shadow_enabled = true texture = SubResource("GradientTexture2D_e2i85") height = 10.0 [node name="FootstepTimer" type="Timer" parent="."] unique_name_in_owner = true wait_time = 0.7 [node name="CollisionShape2D" type="CollisionShape2D" parent="."] position = Vector2(0, -50) shape = SubResource("RectangleShape2D_jwk3s") [node name="OSPivot" parent="." instance=ExtResource("2_jgqhw")] unique_name_in_owner = true [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] unique_name_in_owner = true light_mask = 9 scale = Vector2(0.5, 0.5) sprite_frames = ExtResource("2_3w63u") animation = &"c00_吕萍_idle_right" offset = Vector2(0, -100)