mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-07-07 18:52:12 +08:00
feat: 添加深海角色和木制子弹相关功能
添加深海角色及其攻击逻辑,包括两种攻击方式: 1. 随机发射水泥子弹 2. 向目标发射三发追踪木制子弹 新增木制子弹资源及脚本,实现追踪效果 调整武器树和波次配置,将深海加入测试波次 优化水泥子弹和筷子子弹的动画效果
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
[gd_scene format=3 uid="uid://jmpm68e3um3k"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_yfmqu"]
|
||||
[ext_resource type="Script" uid="uid://bkopn3gee3qp1" path="res://scripts/Contents/Bullets/Wood.gd" id="2_f5eiv"]
|
||||
[ext_resource type="Texture2D" uid="uid://bols4gt28y3a" path="res://resources/bullets/wood/wood.png" id="3_dol0b"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_dth5r"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("3_dol0b")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_8j03k"]
|
||||
size = Vector2(244, 32)
|
||||
|
||||
[node name="Wood" unique_id=5571707 instance=ExtResource("1_yfmqu")]
|
||||
script = ExtResource("2_f5eiv")
|
||||
displayName = "浮木"
|
||||
penerate = 1.0
|
||||
lifeTime = 5000.0
|
||||
|
||||
[node name="texture" parent="." index="0" unique_id=162977358]
|
||||
scale = Vector2(0.4, 0.4)
|
||||
sprite_frames = SubResource("SpriteFrames_dth5r")
|
||||
|
||||
[node name="hitbox" parent="." index="1" unique_id=175349408]
|
||||
shape = SubResource("RectangleShape2D_8j03k")
|
||||
Reference in New Issue
Block a user