frame-of-mind/src/logic-scenes/card_burner/card_burner.tscn

224 lines
6.2 KiB
Plaintext

[gd_scene load_steps=15 format=3 uid="uid://g2a27jwdapai"]
[ext_resource type="Script" uid="uid://bbia2hcdwctyn" path="res://logic-scenes/card_burner/card_burner.gd" id="1_copuj"]
[ext_resource type="Script" uid="uid://2loic2eeec5b" path="res://logic-scenes/board/card.gd" id="2_l4ogr"]
[ext_resource type="Texture2D" uid="uid://615hvpuiacvm" path="res://addons/input_prompts/icons/xbox/X.png" id="3_ckmi5"]
[ext_resource type="PackedScene" uid="uid://uc6urpgv7n1y" path="res://logic-scenes/card_burner/cursor_candle.tscn" id="3_l4ogr"]
[ext_resource type="Script" uid="uid://bbs1u7ojno7xo" path="res://addons/input_prompts/action_prompt/action_prompt.gd" id="4_x6cxt"]
[sub_resource type="InputEventKey" id="InputEventKey_ckmi5"]
device = -1
physical_keycode = 88
unicode = 120
[sub_resource type="InputEventJoypadButton" id="InputEventJoypadButton_x6cxt"]
device = -1
button_index = 2
pressed = true
[sub_resource type="InputEventAction" id="InputEventAction_23lqb"]
action = &"skip"
[sub_resource type="Shortcut" id="Shortcut_57mhv"]
events = [SubResource("InputEventAction_23lqb")]
[sub_resource type="Gradient" id="Gradient_ckmi5"]
colors = PackedColorArray(0, 0, 0, 1, 0, 0, 0, 1)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_x6cxt"]
gradient = SubResource("Gradient_ckmi5")
width = 100
height = 100
[sub_resource type="Animation" id="Animation_57mhv"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("../Sprite2D:self_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, 0)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("../../CursorCandle:color")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 1)]
}
[sub_resource type="Animation" id="Animation_23lqb"]
resource_name = "vanish"
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("../Sprite2D:self_modulate")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("../../CursorCandle:color")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0.69, 1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 1), Color(0, 0, 0, 1)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_kaqqi"]
_data = {
&"RESET": SubResource("Animation_57mhv"),
&"vanish": SubResource("Animation_23lqb")
}
[node name="CardBurner" type="CenterContainer"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_copuj")
[node name="Control" type="Control" parent="."]
layout_mode = 2
[node name="Label" type="Label" parent="Control"]
layout_mode = 1
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -373.5
offset_top = -249.0
offset_right = 373.5
offset_bottom = -149.0
grow_horizontal = 2
grow_vertical = 0
theme_type_variation = &"HeaderMedium"
text = "Life gave you some thoughts you did not choose to keep.
You may try to burn one."
horizontal_alignment = 1
[node name="Ancor1" type="Control" parent="Control"]
unique_name_in_owner = true
layout_mode = 2
anchors_preset = 0
offset_left = -518.0
offset_top = 14.0
offset_right = -518.0
offset_bottom = 14.0
rotation = -0.0352522
[node name="Card" type="Area2D" parent="Control/Ancor1"]
script = ExtResource("2_l4ogr")
text = "card"
metadata/_custom_type_script = "uid://2loic2eeec5b"
[node name="Ancor2" type="Control" parent="Control"]
unique_name_in_owner = true
layout_mode = 2
anchors_preset = 0
offset_left = -183.0
offset_top = 35.0
offset_right = -183.0
offset_bottom = 35.0
rotation = 0.0120591
[node name="card" type="Area2D" parent="Control/Ancor2"]
script = ExtResource("2_l4ogr")
text = "card"
metadata/_custom_type_script = "uid://2loic2eeec5b"
[node name="Ancor3" type="Control" parent="Control"]
unique_name_in_owner = true
layout_mode = 2
anchors_preset = 0
offset_left = 153.0
offset_top = 22.0
offset_right = 153.0
offset_bottom = 22.0
rotation = -0.0139755
[node name="card" type="Area2D" parent="Control/Ancor3"]
script = ExtResource("2_l4ogr")
text = "card"
metadata/_custom_type_script = "uid://2loic2eeec5b"
[node name="Ancor4" type="Control" parent="Control"]
unique_name_in_owner = true
layout_mode = 2
anchors_preset = 0
offset_left = 495.0
offset_top = 15.0
offset_right = 495.0
offset_bottom = 15.0
rotation = 0.0245775
[node name="card" type="Area2D" parent="Control/Ancor4"]
script = ExtResource("2_l4ogr")
text = "card"
metadata/_custom_type_script = "uid://2loic2eeec5b"
[node name="HSplitContainer" type="HSplitContainer" parent="Control"]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -156.0
offset_top = 197.0
offset_right = 157.0
offset_bottom = 244.0
grow_horizontal = 2
[node name="ActionPrompt" type="TextureRect" parent="Control/HSplitContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
texture = ExtResource("3_ckmi5")
expand_mode = 2
stretch_mode = 5
script = ExtResource("4_x6cxt")
action = "skip"
icon = 0
events = Array[InputEvent]([null, SubResource("InputEventKey_ckmi5"), SubResource("InputEventJoypadButton_x6cxt")])
metadata/_custom_type_script = "uid://bbs1u7ojno7xo"
[node name="SkipButton" type="Button" parent="Control/HSplitContainer"]
unique_name_in_owner = true
layout_mode = 2
shortcut = SubResource("Shortcut_57mhv")
text = "Keep all thoughts"
[node name="Sprite2D" type="Sprite2D" parent="Control"]
self_modulate = Color(1, 1, 1, 0)
scale = Vector2(100, 100)
texture = SubResource("GradientTexture2D_x6cxt")
[node name="CursorCandle" parent="." instance=ExtResource("3_l4ogr")]
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
root_node = NodePath("../Control/HSplitContainer")
libraries = {
&"": SubResource("AnimationLibrary_kaqqi")
}