1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-27 22:41:56 +08:00
Files
Dog-Lynx-And-HCN/components/Bullets/Meowmere.tscn
T
fallingshrimp 550718c742 feat(子弹): 为多种子弹添加motionType属性并优化场景文件
为Wuwei、FireScan、Parrier等子弹组件添加motionType属性,用于控制子弹运动类型
同时清理了各场景文件中冗余的load_steps声明,并统一了节点唯一ID格式
2026-04-30 06:49:18 +08:00

74 lines
2.3 KiB
Plaintext

[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"]
[ext_resource type="Script" uid="uid://dhv4nd02hoolr" path="res://scripts/Contents/Bullets/Meowmere.gd" id="2_eoimw"]
[sub_resource type="SpriteFrames" id="SpriteFrames_432r6"]
[sub_resource type="Animation" id="Animation_q4hki"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("sword:rotation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [-0.436332]
}
[sub_resource type="Animation" id="Animation_jdotg"]
resource_name = "spwan"
length = 0.2
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("sword:rotation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.2),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [-0.436332, 2.00713]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_47iyl"]
_data = {
&"RESET": SubResource("Animation_q4hki"),
&"spawn": SubResource("Animation_jdotg")
}
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ja03c"]
size = Vector2(150, 250)
[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" unique_id=162977358]
position = Vector2(100, 0)
scale = Vector2(2, 2)
sprite_frames = SubResource("SpriteFrames_432r6")
[node name="animator" parent="texture" index="0" unique_id=1114087117]
libraries/ = SubResource("AnimationLibrary_47iyl")
[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" unique_id=640146225]
position = Vector2(25, -29)
texture = ExtResource("2_ahi5w")
[node name="hitbox" parent="." index="1" unique_id=175349408]
position = Vector2(169.5, 0)
shape = SubResource("RectangleShape2D_ja03c")