mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
550718c742
为Wuwei、FireScan、Parrier等子弹组件添加motionType属性,用于控制子弹运动类型 同时清理了各场景文件中冗余的load_steps声明,并统一了节点唯一ID格式
84 lines
2.5 KiB
Plaintext
84 lines
2.5 KiB
Plaintext
[gd_scene format=3 uid="uid://dyo1ysooo1l4x"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_2jrlq"]
|
|
[ext_resource type="Script" uid="uid://dm3ftlkrogh8p" path="res://scripts/Contents/Bullets/MushroomPickaxe.gd" id="2_iyw38"]
|
|
[ext_resource type="Texture2D" uid="uid://cqg0aluvegqfe" path="res://resources/bullets/MushroomPickaxe/frames/Shroomite_Digging_Claw.webp" id="2_symlj"]
|
|
|
|
[sub_resource type="Animation" id="Animation_j8qom"]
|
|
length = 0.001
|
|
|
|
[sub_resource type="Animation" id="Animation_oinqg"]
|
|
resource_name = "destroy"
|
|
length = 0.5
|
|
step = 0.1
|
|
|
|
[sub_resource type="Animation" id="Animation_ynxlt"]
|
|
resource_name = "loop"
|
|
loop_mode = 1
|
|
step = 0.1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:rotation")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 1),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [0.0, 6.28319]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_kmogx"]
|
|
resource_name = "spawn"
|
|
length = 0.2
|
|
step = 0.05
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".: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.785398, 0.785]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_qrtcj"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_j8qom"),
|
|
&"destroy": SubResource("Animation_oinqg"),
|
|
&"loop": SubResource("Animation_ynxlt"),
|
|
&"spawn": SubResource("Animation_kmogx")
|
|
}
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_lp71g"]
|
|
size = Vector2(80, 170)
|
|
|
|
[node name="MushroomPickaxe" unique_id=1676630488 instance=ExtResource("1_2jrlq")]
|
|
script = ExtResource("2_iyw38")
|
|
displayName = "蘑菇矿挖爪"
|
|
speed = 0.0
|
|
motionType = 0
|
|
penerate = 1.0
|
|
autoSpawnAnimation = true
|
|
freeAfterSpawn = true
|
|
|
|
[node name="texture" parent="." index="0" unique_id=162977358]
|
|
rotation = 0.785
|
|
|
|
[node name="animator" parent="texture" index="0" unique_id=1114087117]
|
|
libraries/ = SubResource("AnimationLibrary_qrtcj")
|
|
|
|
[node name="item" type="Sprite2D" parent="texture" index="1" unique_id=2028862129]
|
|
position = Vector2(200, 0)
|
|
rotation = 0.785398
|
|
scale = Vector2(2, 2)
|
|
texture = ExtResource("2_symlj")
|
|
|
|
[node name="hitbox" parent="." index="1" unique_id=175349408]
|
|
position = Vector2(200, 0)
|
|
shape = SubResource("RectangleShape2D_lp71g")
|