mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-07 12:17:12 +08:00
3691a06f8b
添加深海角色及其攻击逻辑,包括两种攻击方式: 1. 随机发射水泥子弹 2. 向目标发射三发追踪木制子弹 新增木制子弹资源及脚本,实现追踪效果 调整武器树和波次配置,将深海加入测试波次 优化水泥子弹和筷子子弹的动画效果
40 lines
1.2 KiB
Plaintext
40 lines
1.2 KiB
Plaintext
[gd_scene format=3 uid="uid://nl5h1vcfnn60"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://cvogxi7mktumf" path="res://components/Abstracts/EntityBase.tscn" id="1_g8my0"]
|
|
[ext_resource type="Script" uid="uid://be0o0iwf26hvx" path="res://scripts/Contents/Characters/Deepsea.gd" id="2_1qdp4"]
|
|
[ext_resource type="Texture2D" uid="uid://c6kpcsu1yohak" path="res://resources/characters/deepsea/0.png" id="2_5y3f7"]
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_5y3f7"]
|
|
animations = [{
|
|
"frames": [],
|
|
"loop": true,
|
|
"name": &"idle",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [],
|
|
"loop": true,
|
|
"name": &"walk",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_1qdp4"]
|
|
size = Vector2(165, 349)
|
|
|
|
[node name="Deepsea" unique_id=1544856335 instance=ExtResource("1_g8my0")]
|
|
script = ExtResource("2_1qdp4")
|
|
displayName = "深海"
|
|
|
|
[node name="texture" parent="." index="3"]
|
|
sprite_frames = SubResource("SpriteFrames_5y3f7")
|
|
|
|
[node name="staticBackground" parent="texture" index="0"]
|
|
position = Vector2(0, -131)
|
|
texture = ExtResource("2_5y3f7")
|
|
|
|
[node name="hitbox" parent="texture/hurtbox" index="0"]
|
|
position = Vector2(-20.5, -123.5)
|
|
shape = SubResource("RectangleShape2D_1qdp4")
|
|
|
|
[node name="statebar" parent="." index="4"]
|
|
position = Vector2(0, -386)
|