1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 06:51:54 +08:00

feat(武器): 更新彩虹旗武器配置和视觉效果

refactor(LGBTBullet): 移除旋转逻辑并调整碰撞体积
- 移除子弹纹理的旋转更新
- 缩小碰撞检测范围以匹配新视觉样式

feat(LeadingMark): 新增引导标记节点
- 添加多边形绘制功能用于视觉引导
- 支持自定义宽度、高度和颜色

fix(UI): 完善实体状态条样式
- 添加背景和前景样式框
- 调整颜色和透明度设置

chore: 更新公鸡角色武器配置
- 将大激光武器替换为彩虹旗武器
This commit is contained in:
2025-09-06 10:46:34 +08:00
parent cd07aabcda
commit 978eed4b0c
6 changed files with 48 additions and 21 deletions
+8 -15
View File
@@ -3,20 +3,10 @@
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_bnhy4"]
[ext_resource type="Texture2D" uid="uid://d2pndtow16635" path="res://resources/bullets/lgbt-bullet/造型2.svg" id="2_cnsbx"]
[ext_resource type="Script" path="res://scripts/Contents/Bullets/LGBTBullet.gd" id="2_iakgr"]
[ext_resource type="Script" path="res://scripts/Statemachine/LeadingMark.gd" id="3_rirwy"]
[sub_resource type="SpriteFrames" id="SpriteFrames_rdak6"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_cnsbx")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_4pjb3"]
radius = 32.249
[sub_resource type="CircleShape2D" id="CircleShape2D_1e8f0"]
radius = 12.3693
[sub_resource type="Curve" id="Curve_6bq7i"]
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
@@ -93,10 +83,13 @@ script = ExtResource("2_iakgr")
lifeTime = 2000.0
[node name="texture" parent="." index="0"]
sprite_frames = SubResource("SpriteFrames_rdak6")
rotation = 1.5708
script = ExtResource("3_rirwy")
width = 30.0
height = 40.0
[node name="hitbox" parent="." index="1"]
shape = SubResource("CircleShape2D_4pjb3")
shape = SubResource("CircleShape2D_1e8f0")
[node name="particles" type="GPUParticles2D" parent="." index="2"]
z_index = -1