mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-07-08 11:07:06 +08:00
feat(子弹): 为多种子弹添加motionType属性并优化场景文件
为Wuwei、FireScan、Parrier等子弹组件添加motionType属性,用于控制子弹运动类型 同时清理了各场景文件中冗余的load_steps声明,并统一了节点唯一ID格式
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=9 format=3 uid="uid://dseriubgri7j5"]
|
||||
[gd_scene format=3 uid="uid://dseriubgri7j5"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_newpt"]
|
||||
[ext_resource type="Texture2D" uid="uid://cwr2pud7h8o3e" path="res://resources/bullets/meowmere/Meowmere.webp" id="2_ahi5w"]
|
||||
@@ -46,29 +46,28 @@ _data = {
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ja03c"]
|
||||
size = Vector2(150, 250)
|
||||
|
||||
[node name="Meowmere" instance=ExtResource("1_newpt")]
|
||||
[node name="Meowmere" unique_id=1206159110 instance=ExtResource("1_newpt")]
|
||||
script = ExtResource("2_eoimw")
|
||||
motionType = 0
|
||||
penerate = 1.0
|
||||
autoSpawnAnimation = true
|
||||
freeAfterSpawn = true
|
||||
|
||||
[node name="texture" parent="." index="0"]
|
||||
[node name="texture" parent="." index="0" unique_id=162977358]
|
||||
position = Vector2(100, 0)
|
||||
scale = Vector2(2, 2)
|
||||
sprite_frames = SubResource("SpriteFrames_432r6")
|
||||
|
||||
[node name="animator" parent="texture" index="0"]
|
||||
libraries = {
|
||||
&"": SubResource("AnimationLibrary_47iyl")
|
||||
}
|
||||
[node name="animator" parent="texture" index="0" unique_id=1114087117]
|
||||
libraries/ = SubResource("AnimationLibrary_47iyl")
|
||||
|
||||
[node name="sword" type="Node2D" parent="texture" index="1"]
|
||||
[node name="sword" type="Node2D" parent="texture" index="1" unique_id=589325442]
|
||||
rotation = -0.436332
|
||||
|
||||
[node name="texture" type="Sprite2D" parent="texture/sword" index="0"]
|
||||
[node name="texture" type="Sprite2D" parent="texture/sword" index="0" unique_id=640146225]
|
||||
position = Vector2(25, -29)
|
||||
texture = ExtResource("2_ahi5w")
|
||||
|
||||
[node name="hitbox" parent="." index="1"]
|
||||
[node name="hitbox" parent="." index="1" unique_id=175349408]
|
||||
position = Vector2(169.5, 0)
|
||||
shape = SubResource("RectangleShape2D_ja03c")
|
||||
|
||||
Reference in New Issue
Block a user