mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-27 22:41:56 +08:00
c1a4b62688
- 移除熊的基础移动速度设置,改为在不同阶段设置不同速度 - 调整熊各阶段的伤害倍率和攻击速度 - 修改熊的跟随距离从400降低到250 - 修复永恒彩虹子弹的伤害属性名从speed改为baseDamage - 确保熊在未进入特殊阶段时默认设置为阶段0
127 lines
3.9 KiB
Plaintext
127 lines
3.9 KiB
Plaintext
[gd_scene load_steps=16 format=3 uid="uid://2odeyqgojcge"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_sltl7"]
|
|
[ext_resource type="Texture2D" uid="uid://bkiaaucejquik" path="res://resources/bullets/light-express/Everlasting_Rainbow.png" id="2_3w4yo"]
|
|
[ext_resource type="Script" uid="uid://crbn487ovawao" path="res://scripts/Contents/Bullets/BossAttack/Bear/ForeverRainbow.gd" id="2_wwmq8"]
|
|
[ext_resource type="Shader" uid="uid://le5wwd7wfwnj" path="res://shaders/Light.gdshader" id="4_tms7p"]
|
|
[ext_resource type="Script" uid="uid://cgb01lelfg73p" path="res://scripts/Statemachine/ShaderStage.gd" id="5_ulipy"]
|
|
|
|
[sub_resource type="Gradient" id="Gradient_wd04q"]
|
|
offsets = PackedFloat32Array(0, 0.16, 0.32, 0.48, 0.64, 0.8, 1)
|
|
colors = PackedColorArray(1, 0, 0, 1, 1, 0.447059, 0, 1, 1, 0.890625, 0, 1, 0, 0.820313, 0.128174, 1, 0, 1, 0.859375, 1, 0, 0.53125, 1, 1, 0.429688, 0, 1, 1)
|
|
|
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_gcnu1"]
|
|
gradient = SubResource("Gradient_wd04q")
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_vtg2m"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("2_3w4yo")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[sub_resource type="Animation" id="Animation_vt8tg"]
|
|
length = 0.001
|
|
tracks/0/type = "bezier"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:modulate:a")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"handle_modes": PackedInt32Array(0),
|
|
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0),
|
|
"times": PackedFloat32Array(0)
|
|
}
|
|
|
|
[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"
|
|
length = 11.0
|
|
step = 0.5
|
|
tracks/0/type = "bezier"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:modulate:a")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"handle_modes": PackedInt32Array(0, 0, 0, 0),
|
|
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0, 1, -0.25, 0, 0.25, 0, 1, -0.25, 0, 0.25, 0, 0, -0.25, 0, 0.25, 0),
|
|
"times": PackedFloat32Array(0, 1, 6, 11)
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_edsep"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_vt8tg"),
|
|
&"destroy": SubResource("Animation_oinqg"),
|
|
&"loop": SubResource("Animation_ynxlt"),
|
|
&"spawn": SubResource("Animation_kmogx")
|
|
}
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_nukpm"]
|
|
shader = ExtResource("4_tms7p")
|
|
shader_parameter/color = Color(1, 1, 1, 1)
|
|
shader_parameter/mixProgress = 1.0
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_4fgwj"]
|
|
radius = 15.0
|
|
height = 224.0
|
|
|
|
[node name="ForeverRainbow" instance=ExtResource("1_sltl7")]
|
|
script = ExtResource("2_wwmq8")
|
|
allColor = SubResource("GradientTexture1D_gcnu1")
|
|
displayName = "永恒彩虹"
|
|
baseDamage = 2.0
|
|
lifeTime = 11000.0
|
|
indisDamage = true
|
|
autoSpawnAnimation = true
|
|
autoDestroyOnHitMap = false
|
|
freeAfterSpawn = true
|
|
|
|
[node name="texture" parent="." index="0"]
|
|
sprite_frames = SubResource("SpriteFrames_vtg2m")
|
|
|
|
[node name="animator" parent="texture" index="0"]
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_edsep")
|
|
}
|
|
|
|
[node name="light" type="Node2D" parent="texture" index="1"]
|
|
material = SubResource("ShaderMaterial_nukpm")
|
|
position = Vector2(75, 0)
|
|
script = ExtResource("5_ulipy")
|
|
size = Vector2(50, 50)
|
|
color = Color(1, 1, 1, 0)
|
|
|
|
[node name="hitbox" parent="." index="1"]
|
|
visible = false
|
|
position = Vector2(-13, 0)
|
|
rotation = 1.5708
|
|
shape = SubResource("CapsuleShape2D_4fgwj")
|