mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-07-03 16:52:13 +08:00
feat(子弹): 为多种子弹添加motionType属性并优化场景文件
为Wuwei、FireScan、Parrier等子弹组件添加motionType属性,用于控制子弹运动类型 同时清理了各场景文件中冗余的load_steps声明,并统一了节点唯一ID格式
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=13 format=3 uid="uid://8uepi7uql314"]
|
||||
[gd_scene format=3 uid="uid://8uepi7uql314"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_gd3m7"]
|
||||
[ext_resource type="Script" uid="uid://ci5hswfhck5as" path="res://scripts/Contents/Bullets/Volcano.gd" id="2_w1utg"]
|
||||
@@ -162,37 +162,35 @@ _data = {
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_1sgli"]
|
||||
radius = 78.05767
|
||||
|
||||
[node name="Volcano" instance=ExtResource("1_gd3m7")]
|
||||
[node name="Volcano" unique_id=2046549391 instance=ExtResource("1_gd3m7")]
|
||||
script = ExtResource("2_w1utg")
|
||||
displayName = "火山"
|
||||
motionType = 0
|
||||
penerate = 1.0
|
||||
autoSpawnAnimation = true
|
||||
freeAfterSpawn = true
|
||||
|
||||
[node name="animator" parent="texture" index="0"]
|
||||
libraries = {
|
||||
&"": SubResource("AnimationLibrary_w1utg")
|
||||
}
|
||||
[node name="animator" parent="texture" parent_id_path=PackedInt32Array(162977358) index="0" unique_id=1114087117]
|
||||
libraries/ = SubResource("AnimationLibrary_w1utg")
|
||||
|
||||
[node name="anchor" type="Node2D" parent="texture" index="1"]
|
||||
[node name="anchor" type="Node2D" parent="texture" parent_id_path=PackedInt32Array(162977358) index="1" unique_id=705250468]
|
||||
unique_name_in_owner = true
|
||||
|
||||
[node name="textureSword" type="Sprite2D" parent="texture/anchor" index="0"]
|
||||
[node name="textureSword" type="Sprite2D" parent="texture/anchor" index="0" unique_id=1975566044]
|
||||
unique_name_in_owner = true
|
||||
position = Vector2(150, 0)
|
||||
rotation = 0.7853982
|
||||
scale = Vector2(1.5, 1.5)
|
||||
texture = ExtResource("2_wwxm2")
|
||||
|
||||
[node name="audio" type="AudioStreamPlayer2D" parent="texture/anchor/textureSword" index="0"]
|
||||
[node name="audio" type="AudioStreamPlayer2D" parent="texture/anchor/textureSword" index="0" unique_id=167399724]
|
||||
|
||||
[node name="hitbox" parent="." index="1" node_paths=PackedStringArray("target")]
|
||||
[node name="hitbox" parent="." index="1" unique_id=175349408 node_paths=PackedStringArray("target")]
|
||||
position = Vector2(150, 0)
|
||||
rotation = 1.5707964
|
||||
shape = SubResource("CircleShape2D_1sgli")
|
||||
script = ExtResource("7_1sgli")
|
||||
target = NodePath("../texture/anchor/textureSword")
|
||||
offsetPosition = null
|
||||
offsetRotation = 45.0
|
||||
enablePosition = true
|
||||
enableRotation = true
|
||||
|
||||
Reference in New Issue
Block a user