mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-08 04:37:13 +08:00
feat: 添加新的角色Hen,更新Chick角色的攻击逻辑,增强Boss状态条和子弹功能
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://dbqrmirh6qi7s"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_8udva"]
|
||||
[ext_resource type="Texture2D" uid="uid://dfptmc7clhtx7" path="res://resources/bullets/diamond/frames/0.svg" id="2_txmup"]
|
||||
[ext_resource type="Script" path="res://scripts/Contents/Bullets/Diamond.gd" id="2_yxtyj"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_oj6iy"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_txmup")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[node name="Diamond" instance=ExtResource("1_8udva")]
|
||||
script = ExtResource("2_yxtyj")
|
||||
lifeDistance = 500.0
|
||||
|
||||
[node name="texture" parent="." index="0"]
|
||||
sprite_frames = SubResource("SpriteFrames_oj6iy")
|
||||
@@ -39,6 +39,9 @@ position = Vector2(0, -37)
|
||||
sprite_frames = SubResource("SpriteFrames_xji3d")
|
||||
animation = &"walk"
|
||||
|
||||
[node name="normal" type="Node2D" parent="texture/weapons" index="0"]
|
||||
position = Vector2(30, -12)
|
||||
|
||||
[node name="movebox" parent="." index="1"]
|
||||
shape = SubResource("RectangleShape2D_rn84j")
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://c8h1abpbe6cww"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cvogxi7mktumf" path="res://components/Abstracts/EntityBase.tscn" id="1_twxai"]
|
||||
|
||||
[node name="EntityBase" instance=ExtResource("1_twxai")]
|
||||
@@ -16,12 +16,3 @@ position = Vector2(394, 274)
|
||||
[node name="chick" parent="." groups=["mobs"] instance=ExtResource("4_tnil0")]
|
||||
position = Vector2(644, 391)
|
||||
isBoss = true
|
||||
|
||||
[node name="Chick" parent="." instance=ExtResource("4_tnil0")]
|
||||
position = Vector2(261, 468)
|
||||
|
||||
[node name="Chick2" parent="." instance=ExtResource("4_tnil0")]
|
||||
position = Vector2(837, 492)
|
||||
|
||||
[node name="Chick3" parent="." instance=ExtResource("4_tnil0")]
|
||||
position = Vector2(897, 185)
|
||||
|
||||
Reference in New Issue
Block a user