mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-10 05:37:12 +08:00
feat(子弹系统): 添加QKSword子弹及其处理逻辑
实现QKSword子弹类型,包括子弹行为、生成逻辑和命中效果 - 新增QKSwordBullet类,实现追踪目标功能 - 新增QKSwordHandler处理命中后的子弹生成 - 修改ParryBall使其命中时生成QKSword子弹 - 调整CycleTimer的子弹偏移计算 - 为BulletBase添加afterSpawn回调
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://cocn5lqxetw2u"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_ixcon"]
|
||||
[ext_resource type="Script" uid="uid://cmph2bim5oro5" path="res://scripts/Contents/Bullets/QKSwordHandler.gd" id="2_y2oc8"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_ixcon"]
|
||||
radius = 50.0
|
||||
|
||||
[node name="QKSwordHandler" instance=ExtResource("1_ixcon")]
|
||||
script = ExtResource("2_y2oc8")
|
||||
|
||||
[node name="hitbox" parent="." index="1"]
|
||||
shape = SubResource("CircleShape2D_ixcon")
|
||||
Reference in New Issue
Block a user