1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-24 04:22:29 +08:00

feat(角色): 更新Kernyr角色行为和外观

- 修改Kernyr的攻击模式,增加3种攻击类型
- 更新角色贴图和显示名称
- 调整阳毅导弹的尺寸和动画效果
- 修复Diamond子弹追踪时的空引用问题
- 调整测试波次配置
This commit is contained in:
2026-03-26 22:39:12 +08:00
parent 88a0a18d7e
commit 73b3f9d569
5 changed files with 55 additions and 38 deletions
+20 -20
View File
@@ -15,6 +15,21 @@ animations = [{
"speed": 5.0
}]
[sub_resource type="Animation" id="Animation_peenw"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:rotation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [0.0]
}
[sub_resource type="Animation" id="Animation_c3irh"]
resource_name = "loop"
loop_mode = 1
@@ -32,21 +47,6 @@ tracks/0/keys = {
"values": [0.0, 6.283185307179586]
}
[sub_resource type="Animation" id="Animation_peenw"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:rotation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [0.0]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_x2cof"]
_data = {
&"RESET": SubResource("Animation_peenw"),
@@ -54,7 +54,7 @@ _data = {
}
[sub_resource type="RectangleShape2D" id="RectangleShape2D_x2cof"]
size = Vector2(94, 94)
size = Vector2(48, 48)
[sub_resource type="Curve" id="Curve_c3irh"]
_data = [Vector2(0, 0.8), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
@@ -74,19 +74,19 @@ initial_velocity_max = 1500.0
angular_velocity_min = -100.000015
angular_velocity_max = 99.999985
gravity = Vector3(0, 0, 0)
scale_min = 0.79999995
scale_max = 0.79999995
scale_min = 0.39999998
scale_max = 0.39999998
alpha_curve = SubResource("CurveTexture_peenw")
[node name="Yangyi" instance=ExtResource("1_i51w8")]
script = ExtResource("2_sku1m")
displayName = "超级导弹"
displayName = "超级阳毅导弹"
speed = 20.0
lifeTime = 3000.0
autoLoopAnimation = true
[node name="texture" parent="." index="0"]
scale = Vector2(0.15, 0.15)
scale = Vector2(0.075, 0.075)
sprite_frames = SubResource("SpriteFrames_peenw")
[node name="animator" parent="texture" index="0"]
+3 -3
View File
@@ -2,7 +2,7 @@
[ext_resource type="PackedScene" uid="uid://cvogxi7mktumf" path="res://components/Abstracts/EntityBase.tscn" id="1_bha5j"]
[ext_resource type="Script" uid="uid://m28dwfwmmhmh" path="res://scripts/Contents/Characters/Kernyr.gd" id="2_vkls3"]
[ext_resource type="Texture2D" uid="uid://cts825oc08b7k" path="res://resources/bullets/yangyi/ppn.jpg" id="3_vkls3"]
[ext_resource type="Texture2D" uid="uid://d34vkibm8a5e7" path="res://resources/characters/kernyr/koshino.jpg" id="3_vkls3"]
[sub_resource type="SpriteFrames" id="SpriteFrames_vkls3"]
animations = [{
@@ -22,7 +22,7 @@ size = Vector2(118, 98)
[node name="Kernyr" instance=ExtResource("1_bha5j")]
script = ExtResource("2_vkls3")
displayName = "TestBoss"
displayName = "主核"
drops = Array[int]([0, 1])
dropCounts = Array[Vector2]([Vector2(30, 50), Vector2(20, 40)])
appleCount = Vector2i(2, 5)
@@ -39,4 +39,4 @@ texture = ExtResource("3_vkls3")
shape = SubResource("RectangleShape2D_vkls3")
[node name="statebar" parent="." index="4"]
position = Vector2(0, -135)
position = Vector2(0, -144)