mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-27 22:41:56 +08:00
7e90bd1c1c
实现道教石像武器,包含以下功能: - 添加天地之剑攻击逻辑,根据攻击速度、生命值和气层数计算伤害 - 新增无量斩子弹类型和特效 - 为公鸡角色添加新武器配置 - 更新相关动画和音效资源
57 lines
1.7 KiB
Plaintext
57 lines
1.7 KiB
Plaintext
[gd_scene format=3 uid="uid://crtdkysmnkith"]
|
|
|
|
[ext_resource type="Script" uid="uid://dp7c02tob106n" path="res://scripts/Statemachine/BulletBase.gd" id="1_pklpq"]
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_vypy3"]
|
|
|
|
[sub_resource type="Animation" id="Animation_oinqg"]
|
|
resource_name = "destroy"
|
|
length = 0.5
|
|
step = 0.1
|
|
|
|
[sub_resource type="Animation" id="Animation_ynxlt"]
|
|
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_kmogx"]
|
|
resource_name = "spawn"
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_dxweq"]
|
|
_data = {
|
|
&"destroy": SubResource("Animation_oinqg"),
|
|
&"loop": SubResource("Animation_ynxlt"),
|
|
&"spawn": SubResource("Animation_kmogx")
|
|
}
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_ecl7m"]
|
|
|
|
[node name="BulletBase" type="Area2D" unique_id=5571707]
|
|
script = ExtResource("1_pklpq")
|
|
|
|
[node name="texture" type="AnimatedSprite2D" parent="." unique_id=162977358]
|
|
unique_name_in_owner = true
|
|
sprite_frames = SubResource("SpriteFrames_vypy3")
|
|
|
|
[node name="animator" type="AnimationPlayer" parent="texture" unique_id=1114087117]
|
|
unique_name_in_owner = true
|
|
libraries/ = SubResource("AnimationLibrary_dxweq")
|
|
|
|
[node name="audio" type="AudioStreamPlayer2D" parent="texture" unique_id=1167114186]
|
|
|
|
[node name="hitbox" type="CollisionShape2D" parent="." unique_id=175349408]
|
|
unique_name_in_owner = true
|
|
shape = SubResource("CircleShape2D_ecl7m")
|