2025-06-30 14:48:28 +00:00
|
|
|
[gd_scene load_steps=9 format=3 uid="uid://cjhw5ecygrqty"]
|
2024-12-23 01:29:31 +00:00
|
|
|
|
2025-06-24 20:12:24 +00:00
|
|
|
[ext_resource type="Script" uid="uid://cwfiim4do4vtk" path="res://scene/character/main_player.gd" id="1_3a78y"]
|
2025-01-15 04:02:11 +00:00
|
|
|
[ext_resource type="SpriteFrames" uid="uid://b7fhheih1hbvf" path="res://config/animation/entity_sprite_frames.tres" id="2_3w63u"]
|
2025-06-30 14:48:28 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://dg122jjg5forc" path="res://scene/entity/ux/player_os.tscn" id="2_jgqhw"]
|
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)
|
|
|
|
|
2025-06-24 20:12:24 +00:00
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_jwk3s"]
|
2025-05-30 11:05:06 +00:00
|
|
|
size = Vector2(15, 180)
|
2024-12-23 01:29:31 +00:00
|
|
|
|
2024-12-23 13:04:36 +00:00
|
|
|
[node name="MainPlayer" type="CharacterBody2D"]
|
2025-01-25 05:57:28 +00:00
|
|
|
z_index = 5
|
2024-12-26 13:58:37 +00:00
|
|
|
collision_mask = 2
|
2024-12-23 01:29:31 +00:00
|
|
|
script = ExtResource("1_3a78y")
|
2025-06-25 23:55:47 +00:00
|
|
|
catty_light_energy = 0.3
|
2025-01-21 10:08:16 +00:00
|
|
|
running_locked = true
|
2025-06-18 03:05:22 +00:00
|
|
|
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)
|
2025-06-25 23:55:47 +00:00
|
|
|
energy = 1.2
|
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")
|
2025-06-27 14:52:46 +00:00
|
|
|
texture_scale = 0.5
|
2025-05-29 06:14:02 +00:00
|
|
|
height = 10.0
|
|
|
|
|
2025-06-05 14:01:47 +00:00
|
|
|
[node name="CattyPointLight2D" type="PointLight2D" parent="."]
|
2025-06-18 13:48:59 +00:00
|
|
|
position = Vector2(0, -60)
|
2025-06-05 14:01:47 +00:00
|
|
|
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")
|
2025-06-05 14:01:47 +00:00
|
|
|
height = 10.0
|
|
|
|
|
2024-12-25 12:24:34 +00:00
|
|
|
[node name="FootstepTimer" type="Timer" parent="."]
|
|
|
|
unique_name_in_owner = true
|
2025-06-17 14:45:45 +00:00
|
|
|
wait_time = 0.7
|
2024-12-25 12:24:34 +00:00
|
|
|
|
2024-12-23 01:29:31 +00:00
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
2025-01-20 13:45:47 +00:00
|
|
|
position = Vector2(0, -50)
|
2025-06-24 20:12:24 +00:00
|
|
|
shape = SubResource("RectangleShape2D_jwk3s")
|
2024-12-23 01:29:31 +00:00
|
|
|
|
2025-06-30 14:48:28 +00:00
|
|
|
[node name="OSPivot" parent="." instance=ExtResource("2_jgqhw")]
|
2025-01-12 06:02:00 +00:00
|
|
|
unique_name_in_owner = true
|
2025-01-15 04:02:11 +00:00
|
|
|
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
|
|
unique_name_in_owner = true
|
2025-02-01 06:44:12 +00:00
|
|
|
light_mask = 9
|
2025-04-20 10:21:11 +00:00
|
|
|
scale = Vector2(0.5, 0.5)
|
2025-01-15 04:02:11 +00:00
|
|
|
sprite_frames = ExtResource("2_3w63u")
|
2025-06-21 15:36:03 +00:00
|
|
|
animation = &"c00_吕萍_idle_right"
|
2025-04-01 08:09:34 +00:00
|
|
|
offset = Vector2(0, -100)
|