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/VolcanoShadow.tscn
T

92 lines
2.6 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=8 format=3 uid="uid://doytyuk72vr74"]
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_4oiyn"]
[ext_resource type="Texture2D" uid="uid://ctmxadaowx5ps" path="res://resources/weapons/Volcano.webp" id="2_668mx"]
[ext_resource type="Script" uid="uid://d2jh0hihcc0uj" path="res://scripts/Contents/Bullets/VolcanoShadow.gd" id="2_i7b6y"]
[sub_resource type="Animation" id="Animation_i7b6y"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("static:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 1)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("static:scale")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(1, 1)]
}
[sub_resource type="Animation" id="Animation_668mx"]
resource_name = "spawn"
step = 0.05
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("static:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1, 0.90000004, 1),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 0.5), Color(1, 1, 1, 0.5), Color(1, 1, 1, 0)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("static:scale")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.1, 1),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [Vector2(0, 0), Vector2(1.5, 1.5), Vector2(0, 0)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_i7b6y"]
_data = {
&"RESET": SubResource("Animation_i7b6y"),
&"spawn": SubResource("Animation_668mx")
}
[sub_resource type="RectangleShape2D" id="RectangleShape2D_668mx"]
size = Vector2(76, 12)
[node name="VolcanoShadow" instance=ExtResource("1_4oiyn")]
script = ExtResource("2_i7b6y")
speed = 25.0
penerate = 1.0
penerateDamageReduction = 0.2
autoSpawnAnimation = true
freeAfterSpawn = true
[node name="texture" parent="." index="0"]
rotation = 0.7853982
[node name="animator" parent="texture" index="0"]
libraries = {
&"": SubResource("AnimationLibrary_i7b6y")
}
[node name="static" type="Sprite2D" parent="texture" index="1"]
texture = ExtResource("2_668mx")
[node name="hitbox" parent="." index="1"]
shape = SubResource("RectangleShape2D_668mx")