63 lines
2.2 KiB
Plaintext
63 lines
2.2 KiB
Plaintext
[gd_scene format=3 uid="uid://dj16n8yvwwgr7"]
|
|
|
|
[ext_resource type="FontFile" uid="uid://ch6s7n1ri81gt" path="res://assets/fonts/思源宋体.TTF" id="1_dg3fm"]
|
|
[ext_resource type="Script" uid="uid://b8alcxaoi45xq" path="res://scripts/CharacterBody/CharacterBody.cs" id="1_xfrxc"]
|
|
[ext_resource type="Texture2D" uid="uid://dbyovpk0xc6jo" path="res://assets/character/2D雷恩.png" id="2_xfrxc"]
|
|
[ext_resource type="Texture2D" uid="uid://c85yg8bcpdvvr" path="res://assets/character/走路雷恩.png" id="3_7totm"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_s5ben"]
|
|
bg_color = Color(0, 0.701961, 0.54902, 0.784314)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_7totm"]
|
|
animations = [{
|
|
"frames": [],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("2_xfrxc")
|
|
}],
|
|
"loop": true,
|
|
"name": &"idle",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 3.0,
|
|
"texture": ExtResource("2_xfrxc")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("3_7totm")
|
|
}],
|
|
"loop": true,
|
|
"name": &"walk",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[node name="Rayne" type="CharacterBody2D" unique_id=796512133 node_paths=PackedStringArray("AnimatedSprite2D")]
|
|
collision_mask = 7
|
|
script = ExtResource("1_xfrxc")
|
|
IdleTexture = ExtResource("2_xfrxc")
|
|
WalkTexture = ExtResource("3_7totm")
|
|
AnimatedSprite2D = NodePath("CollisionPolygon2D/AnimatedSprite2D")
|
|
|
|
[node name="ProgressBar" type="ProgressBar" parent="." unique_id=431755658]
|
|
visible = false
|
|
offset_left = -592.0
|
|
offset_top = -728.0
|
|
offset_right = 618.0
|
|
offset_bottom = -576.0
|
|
theme_override_fonts/font = ExtResource("1_dg3fm")
|
|
theme_override_font_sizes/font_size = 48
|
|
theme_override_styles/fill = SubResource("StyleBoxFlat_s5ben")
|
|
value = 100.0
|
|
|
|
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="." unique_id=831580699]
|
|
polygon = PackedVector2Array(0, 0, 0, 440, 160, 440, 304, 408, 320, 160, 280, 40, 248, -32, 304, -152, 176, -176, 56, -176, -96, -176, -240, -160, -360, 0, -360, 200, -296, 320, -272, 424, -200, 440, 0, 440)
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="CollisionPolygon2D" unique_id=399839730]
|
|
sprite_frames = SubResource("SpriteFrames_7totm")
|
|
animation = &"walk"
|
|
frame_progress = 0.7747467
|