diff --git a/components/Bullets/BigLaser.tscn b/components/Bullets/BigLaser.tscn index 060a7d2..4e3f88e 100644 --- a/components/Bullets/BigLaser.tscn +++ b/components/Bullets/BigLaser.tscn @@ -3,10 +3,6 @@ [ext_resource type="PackedScene" uid="uid://8gjjfju6p3fh" path="res://components/Bullets/LaserSummoner.tscn" id="1_ukbip"] [node name="BigLaser" instance=ExtResource("1_ukbip")] -needEnergy = 100.0 +penerate = 1.0 knockback = 10.0 recoil = 4.0 - -[node name="rect" parent="texture" index="0"] -offset_top = 0.0 -offset_bottom = 2000.0 diff --git a/components/Bullets/ChickLaser.tscn b/components/Bullets/ChickLaser.tscn index b59dfac..7fa0f2d 100644 --- a/components/Bullets/ChickLaser.tscn +++ b/components/Bullets/ChickLaser.tscn @@ -1,8 +1,8 @@ [gd_scene load_steps=17 format=3 uid="uid://bvri0nv1jrigf"] [ext_resource type="PackedScene" uid="uid://8gjjfju6p3fh" path="res://components/Bullets/LaserSummoner.tscn" id="1_eb54j"] -[ext_resource type="Script" path="res://scripts/Contents/Bullets/ChickLaser.gd" id="2_7g0f0"] -[ext_resource type="Shader" path="res://shaders/BigLaser.gdshader" id="3_4y0mm"] +[ext_resource type="Script" uid="uid://nygobyigq5sp" path="res://scripts/Contents/Bullets/ChickLaser.gd" id="2_7g0f0"] +[ext_resource type="Shader" uid="uid://d3aopn2f23pmi" path="res://shaders/BigLaser.gdshader" id="3_4y0mm"] [ext_resource type="Texture2D" uid="uid://cv8yl3ncek4ap" path="res://resources/bullets/laser-circle/blue-circle.svg" id="4_cws6l"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_x6ivr"] @@ -15,6 +15,7 @@ shader_parameter/wave_frequency = 1.0 shader_parameter/wave_amplitude = 0.5 shader_parameter/wave_width = 0.5 shader_parameter/edge_nonalpha = 0.6 +shader_parameter/alpha = 1.0 [sub_resource type="Curve" id="Curve_4f20s"] _data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0] @@ -195,8 +196,8 @@ tracks/5/keys = { [sub_resource type="AnimationLibrary" id="AnimationLibrary_7qqtc"] _data = { -"RESET": SubResource("Animation_1rif1"), -"spawn": SubResource("Animation_ep0ow") +&"RESET": SubResource("Animation_1rif1"), +&"spawn": SubResource("Animation_ep0ow") } [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_sg52j"] @@ -206,6 +207,7 @@ height = 500.0 [node name="ChickLaser" instance=ExtResource("1_eb54j")] script = ExtResource("2_7g0f0") displayName = "冷冻激光" +penerate = 1.0 metadata/_edit_vertical_guides_ = [688.0, 189.0] [node name="rect" parent="texture" index="0"] @@ -217,9 +219,9 @@ offset_bottom = 500.0 [node name="particles" parent="texture/rect" index="0"] position = Vector2(25, 250) amount = 100 -process_material = SubResource("ParticleProcessMaterial_vb8yw") lifetime = 0.1 visibility_rect = Rect2(-50, -250, 100, 500) +process_material = SubResource("ParticleProcessMaterial_vb8yw") [node name="launcher" parent="texture/rect" index="1"] position = Vector2(25, -13.9999) @@ -228,7 +230,7 @@ color = Color(0, 0.701961, 1, 1) [node name="animator" parent="texture" index="1"] libraries = { -"": SubResource("AnimationLibrary_7qqtc") +&"": SubResource("AnimationLibrary_7qqtc") } [node name="circle" parent="texture" index="2"] diff --git a/components/Bullets/CrystalBlock.tscn b/components/Bullets/CrystalBlock.tscn index 015ff87..b188a71 100644 --- a/components/Bullets/CrystalBlock.tscn +++ b/components/Bullets/CrystalBlock.tscn @@ -18,6 +18,7 @@ animations = [{ [node name="CrystalBlock" instance=ExtResource("1_wqonw")] script = ExtResource("2_42ni1") displayName = "水晶碎块" +penerate = 0.2 lifeTime = 1000.0 [node name="texture" parent="." index="0"] diff --git a/components/Bullets/HJMAttack.tscn b/components/Bullets/HJMAttack.tscn index ec7c653..7ac9764 100644 --- a/components/Bullets/HJMAttack.tscn +++ b/components/Bullets/HJMAttack.tscn @@ -8,7 +8,7 @@ size = Vector2(200, 200) [node name="HJMA" instance=ExtResource("1_i8ntk")] script = ExtResource("2_ml2df") -damage = 5.0 +penerate = 1.0 lifeTime = 50.0 [node name="hitbox" parent="." index="1"] diff --git a/components/Bullets/HeavyCrystal.tscn b/components/Bullets/HeavyCrystal.tscn index 15da17d..9099a09 100644 --- a/components/Bullets/HeavyCrystal.tscn +++ b/components/Bullets/HeavyCrystal.tscn @@ -1,15 +1,16 @@ [gd_scene load_steps=20 format=3 uid="uid://dxd6ikymj0fge"] [ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_mf7ha"] -[ext_resource type="Script" path="res://scripts/Statemachine/ShaderStage.gd" id="2_75div"] +[ext_resource type="Script" uid="uid://cgb01lelfg73p" path="res://scripts/Statemachine/ShaderStage.gd" id="2_75div"] [ext_resource type="Texture2D" uid="uid://c7hyatbuieaj" path="res://resources/bullets/purple-crystal/frames/0.svg" id="2_ghoc2"] -[ext_resource type="Shader" path="res://shaders/Ring.gdshader" id="2_utujj"] -[ext_resource type="Script" path="res://scripts/Contents/Bullets/BossAttack/KukeMC/HeavyCrystal.gd" id="2_ygemv"] +[ext_resource type="Shader" uid="uid://cnc1n2042ntv5" path="res://shaders/Ring.gdshader" id="2_utujj"] +[ext_resource type="Script" uid="uid://fbrwaknikai8" path="res://scripts/Contents/Bullets/BossAttack/KukeMC/HeavyCrystal.gd" id="2_ygemv"] -[sub_resource type="ShaderMaterial" id="ShaderMaterial_41i4d"] +[sub_resource type="ShaderMaterial" id="ShaderMaterial_ygwl5"] shader = ExtResource("2_utujj") shader_parameter/inner = 0.95 shader_parameter/outer = 1.0 +shader_parameter/alpha = 1.0 [sub_resource type="SpriteFrames" id="SpriteFrames_e150r"] animations = [{ @@ -98,8 +99,8 @@ tracks/2/keys = { [sub_resource type="AnimationLibrary" id="AnimationLibrary_mdce7"] _data = { -"RESET": SubResource("Animation_dwk2v"), -"spawn": SubResource("Animation_qobcv") +&"RESET": SubResource("Animation_dwk2v"), +&"spawn": SubResource("Animation_qobcv") } [sub_resource type="Curve" id="Curve_g11yl"] @@ -153,13 +154,13 @@ scale = Vector2(2, 2) script = ExtResource("2_ygemv") displayName = "动力水晶" speed = 0.0 -damage = 40.0 +penerate = 1.0 lifeTime = 2000.0 autoSpawnAnimation = true [node name="track" type="Node2D" parent="." index="0"] unique_name_in_owner = true -material = SubResource("ShaderMaterial_41i4d") +material = SubResource("ShaderMaterial_ygwl5") script = ExtResource("2_75div") size = Vector2(300, 300) color = Color(0.869998, 0.686414, 0.917359, 1) @@ -171,7 +172,7 @@ sprite_frames = SubResource("SpriteFrames_e150r") [node name="animator" parent="texture" index="0"] libraries = { -"": SubResource("AnimationLibrary_mdce7") +&"": SubResource("AnimationLibrary_mdce7") } [node name="trail" type="GPUParticles2D" parent="texture" index="1"] @@ -179,8 +180,8 @@ unique_name_in_owner = true z_index = -1 position = Vector2(11.3333, 0) amount = 150 -process_material = SubResource("ParticleProcessMaterial_hgwnm") local_coords = true +process_material = SubResource("ParticleProcessMaterial_hgwnm") [node name="hitbox" parent="." index="2"] position = Vector2(60, 0) diff --git a/components/Bullets/LaserSummoner.tscn b/components/Bullets/LaserSummoner.tscn index 7e491b9..4da3d27 100644 --- a/components/Bullets/LaserSummoner.tscn +++ b/components/Bullets/LaserSummoner.tscn @@ -1,8 +1,8 @@ [gd_scene load_steps=18 format=3 uid="uid://8gjjfju6p3fh"] [ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_pnxoq"] -[ext_resource type="Script" path="res://scripts/Contents/Bullets/BigLaser.gd" id="2_nk2p8"] -[ext_resource type="Shader" path="res://shaders/BigLaser.gdshader" id="3_ow2gn"] +[ext_resource type="Script" uid="uid://b74jed1hoi0r6" path="res://scripts/Contents/Bullets/BigLaser.gd" id="2_nk2p8"] +[ext_resource type="Shader" uid="uid://d3aopn2f23pmi" path="res://shaders/BigLaser.gdshader" id="3_ow2gn"] [ext_resource type="Texture2D" uid="uid://dy4op6n6vxef3" path="res://resources/bullets/laser-circle/circle.svg" id="4_sewyb"] [sub_resource type="SpriteFrames" id="SpriteFrames_yip5k"] @@ -17,6 +17,7 @@ shader_parameter/wave_frequency = 1.0 shader_parameter/wave_amplitude = 0.5 shader_parameter/wave_width = 0.5 shader_parameter/edge_nonalpha = 0.6 +shader_parameter/alpha = 1.0 [sub_resource type="Curve" id="Curve_itlbo"] _data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0] @@ -197,8 +198,8 @@ tracks/5/keys = { [sub_resource type="AnimationLibrary" id="AnimationLibrary_s7tee"] _data = { -"RESET": SubResource("Animation_1rif1"), -"spawn": SubResource("Animation_ep0ow") +&"RESET": SubResource("Animation_1rif1"), +&"spawn": SubResource("Animation_ep0ow") } [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_x66th"] @@ -207,6 +208,7 @@ height = 2000.0 [node name="LaserSummoner" instance=ExtResource("1_pnxoq")] script = ExtResource("2_nk2p8") +penerate = 1.0 autoSpawnAnimation = true autoDestroyOnHitMap = false freeAfterSpawn = true @@ -225,9 +227,9 @@ scale = Vector2(1e-05, 1) [node name="particles" type="GPUParticles2D" parent="texture/rect" index="0"] position = Vector2(50, 1000) amount = 400 -process_material = SubResource("ParticleProcessMaterial_m7jvq") lifetime = 0.25 visibility_rect = Rect2(-100, -1000, 200, 2000) +process_material = SubResource("ParticleProcessMaterial_m7jvq") [node name="launcher" type="Polygon2D" parent="texture/rect" index="1"] position = Vector2(50, -21) @@ -237,7 +239,7 @@ polygon = PackedVector2Array(-50, -25, 0, 0, -50, 25) [node name="animator" parent="texture" index="1"] libraries = { -"": SubResource("AnimationLibrary_s7tee") +&"": SubResource("AnimationLibrary_s7tee") } [node name="circle" type="Sprite2D" parent="texture" index="2"] diff --git a/components/Bullets/LightGun.tscn b/components/Bullets/LightGun.tscn index b7b36cd..4c0c090 100644 --- a/components/Bullets/LightGun.tscn +++ b/components/Bullets/LightGun.tscn @@ -211,6 +211,7 @@ allColor = SubResource("GradientTexture1D_aqmnp") length = 1000.0 displayName = "空灵长枪" baseDamage = 2.0 +penerate = 1.0 autoSpawnAnimation = true freeAfterSpawn = true diff --git a/components/Bullets/Meowmere.tscn b/components/Bullets/Meowmere.tscn index e087da9..93e0027 100644 --- a/components/Bullets/Meowmere.tscn +++ b/components/Bullets/Meowmere.tscn @@ -48,6 +48,7 @@ size = Vector2(150, 250) [node name="Meowmere" instance=ExtResource("1_newpt")] script = ExtResource("2_eoimw") +penerate = 1.0 autoSpawnAnimation = true freeAfterSpawn = true diff --git a/components/Bullets/RainbowCat.tscn b/components/Bullets/RainbowCat.tscn index b01cf22..a9a7b6e 100644 --- a/components/Bullets/RainbowCat.tscn +++ b/components/Bullets/RainbowCat.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=12 format=3 uid="uid://ct8ijxg7ftypd"] [ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_vvwmq"] -[ext_resource type="Script" path="res://scripts/Contents/Bullets/RainbowCat.gd" id="2_4c1xc"] +[ext_resource type="Script" uid="uid://cqljq5nyy7sgu" path="res://scripts/Contents/Bullets/RainbowCat.gd" id="2_4c1xc"] [ext_resource type="Texture2D" uid="uid://ceqhttm1urmk3" path="res://resources/bullets/rainbow-cat/1.webp" id="2_bt3cu"] [sub_resource type="SpriteFrames" id="SpriteFrames_0xq5p"] @@ -51,6 +51,7 @@ alpha_curve = SubResource("CurveTexture_pwojl") [node name="RainbowCat" instance=ExtResource("1_vvwmq")] script = ExtResource("2_4c1xc") +penerate = 1.0 lifeTime = 3000.0 [node name="texture" parent="." index="0"] diff --git a/components/Bullets/VolcanoShadow.tscn b/components/Bullets/VolcanoShadow.tscn index 41bf650..0276969 100644 --- a/components/Bullets/VolcanoShadow.tscn +++ b/components/Bullets/VolcanoShadow.tscn @@ -71,7 +71,7 @@ size = Vector2(76, 12) [node name="VolcanoShadow" instance=ExtResource("1_4oiyn")] script = ExtResource("2_i7b6y") speed = 25.0 -penerate = 1.0 +penerate = 0.35 penerateDamageReduction = 0.2 autoSpawnAnimation = true freeAfterSpawn = true