1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-27 22:41:56 +08:00
Files
Dog-Lynx-And-HCN/components/Bullets/NuclearBomb.tscn
T
fallingshrimp e89e4f21e6 feat(武器系统): 添加核弹武器及相关资源
实现核弹武器功能,包括:
- 添加核弹控制器武器脚本和场景
- 实现核弹子弹逻辑和爆炸效果
- 添加相关图片、音效资源
- 更新角色武器库包含核弹
- 调整武器名称颜色配置
2025-09-20 22:17:09 +08:00

53 lines
1.5 KiB
Plaintext

[gd_scene load_steps=7 format=3 uid="uid://6aetx86j5ue"]
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_dpea6"]
[ext_resource type="Texture2D" uid="uid://gs6jd1qxkl74" path="res://resources/bullets/nuclear-bomb/bomb.png" id="2_1kyo5"]
[ext_resource type="Script" path="res://scripts/Contents/Bullets/NuclearBomb.gd" id="2_f85ek"]
[sub_resource type="SpriteFrames" id="SpriteFrames_mku0w"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_1kyo5")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="LabelSettings" id="LabelSettings_asfas"]
font_size = 30
font_color = Color(1, 0, 0, 1)
outline_size = 1
outline_color = Color(1, 0, 0, 1)
[sub_resource type="CircleShape2D" id="CircleShape2D_nhppq"]
radius = 1000.0
[node name="NuclearBomb" instance=ExtResource("1_dpea6")]
script = ExtResource("2_f85ek")
displayName = "核弹"
damage = 500.0
autoDestroyOnHitMap = false
[node name="texture" parent="." index="0"]
sprite_frames = SubResource("SpriteFrames_mku0w")
[node name="anchor" type="Node2D" parent="texture" index="1"]
unique_name_in_owner = true
[node name="label" type="Label" parent="texture/anchor" index="0"]
unique_name_in_owner = true
offset_left = -200.0
offset_top = -25.0
offset_right = 200.0
offset_bottom = 25.0
text = "NUCLEAR WARNING %.1f"
label_settings = SubResource("LabelSettings_asfas")
horizontal_alignment = 1
vertical_alignment = 1
[node name="hitbox" parent="." index="1"]
visible = false
shape = SubResource("CircleShape2D_nhppq")