1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-12 14:47:13 +08:00

feat(武器): 新增蓝水晶武器及相关调整

- 添加蓝水晶武器资源及配置
- 调整蓝水晶子弹的生命周期和追踪速度
- 修改数学工具中的随机数生成逻辑
- 更新钻石子弹的穿透属性和生命周期
- 将蓝水晶武器添加到角色武器库中
This commit is contained in:
2025-12-14 13:22:35 +08:00
parent 977073dbc0
commit 04dbd5d6db
8 changed files with 73 additions and 34 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ alpha_curve = SubResource("CurveTexture_4h7m0")
script = ExtResource("2_0q2lw")
displayName = "蓝水晶"
speed = 5.0
lifeTime = 5000.0
lifeTime = 2500.0
[node name="texture" parent="." index="0"]
modulate = Color(0.8283318, 1.529841, 1.548706, 1)
+18 -17
View File
@@ -4,8 +4,20 @@
[ext_resource type="Script" uid="uid://c1ywds8xwerm3" path="res://scripts/Contents/Bullets/Diamond2.gd" id="2_i4qda"]
[ext_resource type="Texture2D" uid="uid://dfptmc7clhtx7" path="res://resources/bullets/diamond/frames/0.svg" id="3_pkqnc"]
[sub_resource type="Animation" id="Animation_pkqnc"]
resource_name = "spawn"
[sub_resource type="Animation" id="Animation_g4uh6"]
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_0d4xv"]
resource_name = "loop"
@@ -24,20 +36,8 @@ tracks/0/keys = {
"values": [0.0, 6.283185307179586]
}
[sub_resource type="Animation" id="Animation_g4uh6"]
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_pkqnc"]
resource_name = "spawn"
[sub_resource type="AnimationLibrary" id="AnimationLibrary_v5jve"]
_data = {
@@ -52,7 +52,8 @@ radius = 6.0827627
[node name="Diamond2" instance=ExtResource("1_slk7q")]
script = ExtResource("2_i4qda")
displayName = "钻石"
lifeTime = 5000.0
penerate = 0.5
lifeTime = 3000.0
autoLoopAnimation = true
[node name="animator" parent="texture" index="0"]