1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 23:11:54 +08:00
Files
Dog-Lynx-And-HCN/components/Bullets/Meowmere.tscn
T
fallingshrimp 1a6a47da74 feat(Meowmere): 调整武器和子弹属性并优化动画
- 为Meowmere子弹添加穿透属性
- 调整武器伤害计算和子子弹伤害
- 更新武器描述模板和数值显示
- 修改子弹碰撞体大小和位置
- 优化武器动画和旋转效果
- 调整角色武器库中的武器顺序
2025-09-21 15:32:38 +08:00

74 lines
2.1 KiB
Plaintext

[gd_scene load_steps=9 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" 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(56, 250)
[node name="Meowmere" instance=ExtResource("1_newpt")]
script = ExtResource("2_eoimw")
autoSpawnAnimation = true
freeAfterSpawn = true
[node name="texture" parent="." index="0"]
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="sword" type="Node2D" parent="texture" index="1"]
rotation = -0.436332
[node name="texture" type="Sprite2D" parent="texture/sword" index="0"]
position = Vector2(25, -29)
texture = ExtResource("2_ahi5w")
[node name="hitbox" parent="." index="1"]
position = Vector2(140, 0)
shape = SubResource("RectangleShape2D_ja03c")