mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-27 22:41:56 +08:00
93fdb8e2b8
- 在武器卡片中添加来源显示标签和数组字段 - 将光标刀的碰撞形状从矩形改为线段 - 为光标刀添加命中时的击退效果 - 优化场景文件格式和节点唯一ID
171 lines
5.1 KiB
Plaintext
171 lines
5.1 KiB
Plaintext
[gd_scene format=3 uid="uid://cxjsajua2a82n"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_epcdw"]
|
|
[ext_resource type="Script" uid="uid://c337id4kvvj58" path="res://scripts/Contents/Bullets/CursorKnife.gd" id="2_glt8o"]
|
|
[ext_resource type="Texture2D" uid="uid://geax1diwtp48" path="res://resources/bullets/cursor/knife1.png" id="5_aqt0q"]
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_vdv8l"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("5_aqt0q")
|
|
}],
|
|
"loop": false,
|
|
"name": &"default",
|
|
"speed": 10.0
|
|
}]
|
|
|
|
[sub_resource type="Animation" id="Animation_glt8o"]
|
|
length = 0.001
|
|
tracks/0/type = "bezier"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:scale:x")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"handle_modes": PackedInt32Array(0),
|
|
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0),
|
|
"times": PackedFloat32Array(0)
|
|
}
|
|
tracks/1/type = "bezier"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath(".:scale:y")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"handle_modes": PackedInt32Array(0),
|
|
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0),
|
|
"times": PackedFloat32Array(0)
|
|
}
|
|
tracks/2/type = "value"
|
|
tracks/2/imported = false
|
|
tracks/2/enabled = true
|
|
tracks/2/path = NodePath(".:modulate")
|
|
tracks/2/interp = 1
|
|
tracks/2/loop_wrap = true
|
|
tracks/2/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Color(1, 1, 1, 1)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_ioc4f"]
|
|
resource_name = "spawn"
|
|
step = 0.1
|
|
tracks/0/type = "bezier"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:scale:x")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"handle_modes": PackedInt32Array(0, 0, 0),
|
|
"points": PackedFloat32Array(0.5, -0.16111112, 0, 0, 0, 1.25, -0.25, 0, 0.25, 0, 0.5, -0.16111112, 0, 0, 0),
|
|
"times": PackedFloat32Array(0, 0.5, 1)
|
|
}
|
|
tracks/1/type = "bezier"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath(".:scale:y")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"handle_modes": PackedInt32Array(0, 0, 0),
|
|
"points": PackedFloat32Array(0.5, -0.16111112, 0, 0, 0, 1.25, -0.25, 0, 0.25, 0, 0.5, -0.16111112, 0, 0, 0),
|
|
"times": PackedFloat32Array(0, 0.5, 1)
|
|
}
|
|
tracks/2/type = "value"
|
|
tracks/2/imported = false
|
|
tracks/2/enabled = true
|
|
tracks/2/path = NodePath(".:modulate")
|
|
tracks/2/interp = 1
|
|
tracks/2/loop_wrap = true
|
|
tracks/2/keys = {
|
|
"times": PackedFloat32Array(0, 0.3, 0.7, 1),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
|
"update": 0,
|
|
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1), Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_t6dk8"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_glt8o"),
|
|
&"spawn": SubResource("Animation_ioc4f")
|
|
}
|
|
|
|
[sub_resource type="Curve" id="Curve_r4tbf"]
|
|
_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_3757w"]
|
|
curve = SubResource("Curve_r4tbf")
|
|
|
|
[sub_resource type="Gradient" id="Gradient_epcdw"]
|
|
colors = PackedColorArray(0, 1, 0, 1, 1, 1, 1, 1)
|
|
|
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_ioc4f"]
|
|
gradient = SubResource("Gradient_epcdw")
|
|
|
|
[sub_resource type="Curve" id="Curve_glt8o"]
|
|
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0.7), 0.0, 0.0, 0, 0]
|
|
point_count = 2
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_t6dk8"]
|
|
curve = SubResource("Curve_glt8o")
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_aqt0q"]
|
|
particle_flag_disable_z = true
|
|
emission_shape = 3
|
|
emission_box_extents = Vector3(1, 80, 1)
|
|
angle_min = 1.0728835e-05
|
|
angle_max = 360.00003
|
|
direction = Vector3(-1, 0, 0)
|
|
spread = 15.0
|
|
initial_velocity_min = 100.0
|
|
initial_velocity_max = 400.0
|
|
gravity = Vector3(0, 0, 0)
|
|
scale_min = 5.0
|
|
scale_max = 10.0
|
|
scale_curve = SubResource("CurveTexture_t6dk8")
|
|
color_initial_ramp = SubResource("GradientTexture1D_ioc4f")
|
|
alpha_curve = SubResource("CurveTexture_3757w")
|
|
|
|
[sub_resource type="SegmentShape2D" id="SegmentShape2D_r4tbf"]
|
|
a = Vector2(0, -80)
|
|
b = Vector2(0, 80)
|
|
|
|
[node name="CursorKnife" unique_id=736659683 instance=ExtResource("1_epcdw")]
|
|
script = ExtResource("2_glt8o")
|
|
speed = 5.0
|
|
penerate = 1.0
|
|
penerateDamageReduction = 0.25
|
|
autoSpawnAnimation = true
|
|
autoDestroyOnHitMap = false
|
|
autoPlayTexture = true
|
|
freeAfterSpawn = true
|
|
|
|
[node name="texture" parent="." index="0" unique_id=162977358]
|
|
position = Vector2(-33, 4)
|
|
rotation = -0.6813664
|
|
scale = Vector2(1e-05, 1e-05)
|
|
sprite_frames = SubResource("SpriteFrames_vdv8l")
|
|
frame_progress = 1.0
|
|
|
|
[node name="animator" parent="texture" index="0" unique_id=1114087117]
|
|
libraries/ = SubResource("AnimationLibrary_t6dk8")
|
|
|
|
[node name="trail" type="GPUParticles2D" parent="texture" index="1" unique_id=1234210493]
|
|
z_index = -1
|
|
position = Vector2(28.85057, 31.122555)
|
|
rotation = 0.6806784
|
|
amount = 100
|
|
preprocess = 1.0
|
|
process_material = SubResource("ParticleProcessMaterial_aqt0q")
|
|
|
|
[node name="hitbox" parent="." index="1" unique_id=175349408]
|
|
position = Vector2(40, 0)
|
|
shape = SubResource("SegmentShape2D_r4tbf")
|