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

feat: 更新多个武器和子弹的属性和行为

- 为LGBTFlag添加500点最大生命值
- 调整NuclearBomb的旋转逻辑和AcidBulletBase的移动行为
- 重写WhiteSoul子弹逻辑,增加随机大小和速度
- 修改Oxygener武器,允许使用能量替代篮球消耗
- 更新多个场景文件,优化属性和描述
This commit is contained in:
2026-04-11 11:05:59 +08:00
parent 1b737ac8aa
commit 73adc34aef
12 changed files with 103 additions and 40 deletions
+4 -3
View File
@@ -1,4 +1,4 @@
[gd_scene load_steps=5 format=3 uid="uid://qx8h1dcbyy1j"]
[gd_scene format=3 uid="uid://qx8h1dcbyy1j"]
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_hfsul"]
[ext_resource type="Script" uid="uid://wt1fn2vjtlen" path="res://scripts/Contents/Bullets/AcidBulletBase.gd" id="2_y4hkm"]
@@ -15,11 +15,12 @@ animations = [{
"speed": 5.0
}]
[node name="AcidBulletBase" instance=ExtResource("1_hfsul")]
[node name="AcidBulletBase" unique_id=1827668506 instance=ExtResource("1_hfsul")]
script = ExtResource("2_y4hkm")
acidType = 0
displayName = "酸液"
speed = 15.0
lifeTime = 1000.0
[node name="texture" parent="." index="0"]
[node name="texture" parent="." index="0" unique_id=162977358]
sprite_frames = SubResource("SpriteFrames_3gf7s")
+40 -4
View File
@@ -1,4 +1,4 @@
[gd_scene load_steps=10 format=3 uid="uid://gnenrlcspjuq"]
[gd_scene format=3 uid="uid://gnenrlcspjuq"]
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_k41ea"]
[ext_resource type="Script" uid="uid://iylhd18nf5a1" path="res://scripts/Contents/Bullets/WhiteSoul.gd" id="2_ld7n7"]
@@ -15,6 +15,38 @@ animations = [{
"speed": 5.0
}]
[sub_resource type="Animation" id="Animation_b8ukb"]
resource_name = "destroy"
length = 0.5
step = 0.1
[sub_resource type="Animation" id="Animation_7gepi"]
resource_name = "loop"
loop_mode = 1
step = 0.1
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, 1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [0.0, 6.28319]
}
[sub_resource type="Animation" id="Animation_vrtf3"]
resource_name = "spawn"
[sub_resource type="AnimationLibrary" id="AnimationLibrary_tinfk"]
_data = {
&"destroy": SubResource("Animation_b8ukb"),
&"loop": SubResource("Animation_7gepi"),
&"spawn": SubResource("Animation_vrtf3")
}
[sub_resource type="Curve" id="Curve_r03vp"]
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
point_count = 2
@@ -41,18 +73,22 @@ scale_max = 0.8
scale_curve = SubResource("CurveTexture_7ga5a")
alpha_curve = SubResource("CurveTexture_bd63g")
[node name="WhiteSoul" instance=ExtResource("1_k41ea")]
[node name="WhiteSoul" unique_id=1863464355 instance=ExtResource("1_k41ea")]
texture_filter = 1
script = ExtResource("2_ld7n7")
displayName = "怪物灵魂"
speed = 20.0
penerate = 0.5
autoDestroyOnHitMap = false
[node name="texture" parent="." index="0"]
[node name="texture" parent="." index="0" unique_id=162977358]
rotation = -1.5708
sprite_frames = SubResource("SpriteFrames_3yyb4")
[node name="trail" type="GPUParticles2D" parent="texture" index="1"]
[node name="animator" parent="texture" index="0" unique_id=1114087117]
libraries/ = SubResource("AnimationLibrary_tinfk")
[node name="trail" type="GPUParticles2D" parent="texture" index="1" unique_id=1079331435]
amount = 10
texture = ExtResource("2_mqva0")
preprocess = 1.0