81 lines
2.0 KiB
Plaintext
81 lines
2.0 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://bweve8chonij3"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dhgyj08g1ge2o" path="res://assets/UI/SVG/hitmarkersvg.svg" id="1_sja31"]
|
|
[ext_resource type="Script" uid="uid://doiuui3fejbfr" path="res://scripts/hitmarker.gd" id="2_8qjsl"]
|
|
|
|
[sub_resource type="Animation" id="Animation_162up"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:scale")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Vector2(1, 1)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_gb8xo"]
|
|
resource_name = "hit"
|
|
length = 0.05
|
|
step = 0.01
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:scale")
|
|
tracks/0/interp = 2
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0.05),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Vector2(1, 1)]
|
|
}
|
|
tracks/1/type = "method"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath(".")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0.05),
|
|
"transitions": PackedFloat32Array(1),
|
|
"values": [{
|
|
"args": [],
|
|
"method": &"anim_end"
|
|
}]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_bki25"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_162up"),
|
|
&"hit": SubResource("Animation_gb8xo")
|
|
}
|
|
|
|
[node name="Hitmarker" type="TextureRect"]
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -33.5
|
|
offset_top = -33.5
|
|
offset_right = 33.5
|
|
offset_bottom = 33.5
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
pivot_offset = Vector2(33, 33)
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 4
|
|
texture = ExtResource("1_sja31")
|
|
script = ExtResource("2_8qjsl")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
libraries = {
|
|
"": SubResource("AnimationLibrary_bki25")
|
|
}
|
|
autoplay = "hit"
|