mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-07 20:27:13 +08:00
feat: 添加新的子弹类型和相关逻辑,更新角色攻击方式,增加无差别伤害选项
This commit is contained in:
@@ -17,7 +17,13 @@ animations = [{
|
||||
|
||||
[node name="Diamond" instance=ExtResource("1_8udva")]
|
||||
script = ExtResource("2_yxtyj")
|
||||
fields = {
|
||||
0: 10,
|
||||
1: 2,
|
||||
2: 0
|
||||
}
|
||||
lifeTime = 5000.0
|
||||
indisDamage = true
|
||||
|
||||
[node name="texture" parent="." index="0"]
|
||||
sprite_frames = SubResource("SpriteFrames_oj6iy")
|
||||
|
||||
@@ -8,6 +8,11 @@ a = Vector2(0, -10)
|
||||
|
||||
[node name="FireScan" instance=ExtResource("1_cqre5")]
|
||||
script = ExtResource("2_qprdp")
|
||||
fields = {
|
||||
0: 10,
|
||||
1: 30,
|
||||
2: 0
|
||||
}
|
||||
lifeDistance = 200.0
|
||||
|
||||
[node name="hitbox" parent="." index="1"]
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://bvri0nv1jrigf"]
|
||||
[gd_scene load_steps=7 format=3 uid="uid://bvri0nv1jrigf"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_3u4op"]
|
||||
[ext_resource type="Shader" path="res://shaders/Laser.gdshader" id="2_h6cxi"]
|
||||
[ext_resource type="Script" path="res://scripts/Contents/Bullets/Laser.gd" id="2_yy5sr"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_yip5k"]
|
||||
|
||||
@@ -15,12 +16,13 @@ shader_parameter/soft_edge = 0.5
|
||||
height = 300.0
|
||||
|
||||
[node name="Laser" instance=ExtResource("1_3u4op")]
|
||||
script = ExtResource("2_yy5sr")
|
||||
fields = {
|
||||
0: 10,
|
||||
1: 5,
|
||||
2: 0
|
||||
1: 15,
|
||||
2: 1
|
||||
}
|
||||
lifeTime = 100.0
|
||||
lifeTime = 1000.0
|
||||
|
||||
[node name="texture" parent="." index="0"]
|
||||
rotation = 1.5708
|
||||
|
||||
Reference in New Issue
Block a user