mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-24 04:22:29 +08:00
refactor(bullets): 重命名PresetsAI为PresetAIs并添加地图碰撞检测
将子弹AI预设类从PresetsAI重命名为PresetAIs 为BulletBase添加autoDestroyOnHitMap选项控制地图碰撞销毁 修改多个子弹脚本使用新的PresetAIs类名 为ChickSprint子弹添加地图碰撞伤害逻辑
This commit is contained in:
@@ -208,6 +208,7 @@ height = 2000.0
|
||||
[node name="LaserSummoner" instance=ExtResource("1_pnxoq")]
|
||||
script = ExtResource("2_nk2p8")
|
||||
autoSpawnAnimation = true
|
||||
autoDestroyOnHitMap = false
|
||||
freeAfterSpawn = true
|
||||
|
||||
[node name="texture" parent="." index="0"]
|
||||
|
||||
@@ -90,7 +90,7 @@ libraries = {
|
||||
"": SubResource("AnimationLibrary_44ixa")
|
||||
}
|
||||
|
||||
[node name="map" type="StaticBody2D" parent="."]
|
||||
[node name="map" type="StaticBody2D" parent="." groups=["map"]]
|
||||
|
||||
[node name="background" type="Sprite2D" parent="map"]
|
||||
z_index = -100
|
||||
|
||||
Reference in New Issue
Block a user