mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
d1bf911c79
- 为钢管武器添加蓄力粒子效果 - 新增钢管落地音效资源 - 修改钢管子弹碰撞形状为圆形 - 添加钢管武器能量消耗和冷却时间配置 - 实现钢管子弹销毁时的落地效果
33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://07lpwkusvvy4"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_3h25n"]
|
|
[ext_resource type="Texture2D" uid="uid://ds5htlg14wm3y" path="res://resources/bullets/pipe/pipe.png" id="2_3ntcm"]
|
|
[ext_resource type="Script" uid="uid://c4w0f18nj4qhk" path="res://scripts/Contents/Bullets/PipeBullet.gd" id="2_vcs8c"]
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_vcs8c"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("2_3ntcm")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_vcs8c"]
|
|
radius = 83.00603
|
|
|
|
[node name="Pipe" instance=ExtResource("1_3h25n")]
|
|
script = ExtResource("2_vcs8c")
|
|
penerate = 1.0
|
|
lifeTime = 1000.0
|
|
|
|
[node name="texture" parent="." index="0"]
|
|
rotation = -1.5707964
|
|
scale = Vector2(0.27, 0.27)
|
|
sprite_frames = SubResource("SpriteFrames_vcs8c")
|
|
|
|
[node name="hitbox" parent="." index="1"]
|
|
shape = SubResource("CircleShape2D_vcs8c")
|