[gd_scene load_steps=10 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" 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" instance=ExtResource("1_2jrlq")] script = ExtResource("2_iyw38") displayName = "蘑菇矿挖爪" speed = 0.0 damage = 1.0 penerate = 1.0 autoSpawnAnimation = true freeAfterSpawn = true [node name="texture" parent="." index="0"] rotation = 0.785 [node name="animator" parent="texture" index="0"] libraries = { "": SubResource("AnimationLibrary_qrtcj") } [node name="item" type="Sprite2D" parent="texture" index="1"] position = Vector2(200, 0) rotation = 0.785398 scale = Vector2(2, 2) texture = ExtResource("2_symlj") [node name="hitbox" parent="." index="1"] position = Vector2(200, 0) shape = SubResource("RectangleShape2D_lp71g")