1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-29 23:41:54 +08:00
Files
Dog-Lynx-And-HCN/components/Bullets/WhiteSoul.tscn
T
fallingshrimp c5d58a14f7 feat(武器): 添加白色灵魂武器及相关资源
添加新的白色灵魂武器,包括脚本、场景和资源文件
修改公鸡角色配置以使用新武器
优化子弹工具类和白色灵魂子弹的行为
添加获取窗口大小的工具方法
2025-09-29 22:33:56 +08:00

61 lines
1.9 KiB
Plaintext

[gd_scene load_steps=10 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" path="res://scripts/Contents/Bullets/WhiteSoul.gd" id="2_ld7n7"]
[ext_resource type="Texture2D" uid="uid://wy10fc3bqppg" path="res://resources/bullets/seven-soul/soul.png" id="2_mqva0"]
[sub_resource type="SpriteFrames" id="SpriteFrames_3yyb4"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_mqva0")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[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
[sub_resource type="CurveTexture" id="CurveTexture_bd63g"]
curve = SubResource("Curve_r03vp")
[sub_resource type="Curve" id="Curve_rtb8e"]
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0.75), 0.0, 0.0, 0, 0]
point_count = 2
[sub_resource type="CurveTexture" id="CurveTexture_7ga5a"]
curve = SubResource("Curve_rtb8e")
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_u4kq5"]
particle_flag_disable_z = true
direction = Vector3(0, -1, 0)
spread = 0.0
initial_velocity_min = 150.0
initial_velocity_max = 150.0
gravity = Vector3(0, 0, 0)
scale_min = 0.8
scale_max = 0.8
scale_curve = SubResource("CurveTexture_7ga5a")
alpha_curve = SubResource("CurveTexture_bd63g")
[node name="WhiteSoul" instance=ExtResource("1_k41ea")]
texture_filter = 1
script = ExtResource("2_ld7n7")
displayName = "怪物灵魂"
speed = 20.0
lifeTime = 2000.0
[node name="texture" parent="." index="0"]
rotation = -1.5708
sprite_frames = SubResource("SpriteFrames_3yyb4")
[node name="trail" type="GPUParticles2D" parent="texture" index="1"]
amount = 10
process_material = SubResource("ParticleProcessMaterial_u4kq5")
texture = ExtResource("2_mqva0")
speed_scale = 2.0
local_coords = true