[gd_scene load_steps=25 format=3 uid="uid://cp7nniki0rfjb"] [ext_resource type="Script" path="res://scripts/card.gd" id="1_eonn1"] [ext_resource type="Script" path="res://scripts/util/center-pivot.gd" id="2_ts01c"] [ext_resource type="Texture2D" uid="uid://o6w4s6p2a4jl" path="res://icon.svg" id="3_2uyde"] [ext_resource type="Texture2D" uid="uid://dyyp5baixyar" path="res://assets/postit.png" id="4_7shci"] [ext_resource type="Texture2D" uid="uid://c6v27xqkyppxn" path="res://assets/card_back.png" id="4_x6x53"] [ext_resource type="FontFile" uid="uid://cwj7455ug3qtj" path="res://assets/fonts/LTDelilah-Bold.ttf" id="5_gyuma"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_d7ow1"] bg_color = Color(1, 1, 1, 1) corner_radius_top_left = 32 corner_radius_top_right = 32 corner_radius_bottom_right = 32 corner_radius_bottom_left = 32 shadow_size = 6 shadow_offset = Vector2(4, 4) [sub_resource type="SystemFont" id="SystemFont_8gy0m"] font_names = PackedStringArray("Serif") font_weight = 700 subpixel_positioning = 0 multichannel_signed_distance_field = true [sub_resource type="LabelSettings" id="LabelSettings_ly8gu"] font = SubResource("SystemFont_8gy0m") font_color = Color(0, 0, 0, 1) [sub_resource type="Gradient" id="Gradient_4pdeh"] offsets = PackedFloat32Array(0, 0.522581, 1) colors = PackedColorArray(0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0) [sub_resource type="GradientTexture1D" id="GradientTexture1D_dnr2m"] gradient = SubResource("Gradient_4pdeh") [sub_resource type="StyleBoxTexture" id="StyleBoxTexture_wrn5s"] texture = SubResource("GradientTexture1D_dnr2m") texture_margin_top = 1.0 texture_margin_bottom = 1.0 [sub_resource type="SystemFont" id="SystemFont_wxr2e"] font_names = PackedStringArray("Serif") subpixel_positioning = 0 multichannel_signed_distance_field = true [sub_resource type="SystemFont" id="SystemFont_dkh20"] font_names = PackedStringArray("Serif") font_italic = true subpixel_positioning = 0 multichannel_signed_distance_field = true [sub_resource type="SystemFont" id="SystemFont_k5x4p"] font_names = PackedStringArray("Serif") font_weight = 600 subpixel_positioning = 0 multichannel_signed_distance_field = true [sub_resource type="StyleBoxTexture" id="StyleBoxTexture_ul303"] texture = ExtResource("4_7shci") region_rect = Rect2(166.75, 162.875, 2072.25, 1711.12) [sub_resource type="Theme" id="Theme_qoiac"] Panel/styles/panel = SubResource("StyleBoxTexture_ul303") [sub_resource type="LabelSettings" id="LabelSettings_d431t"] font = ExtResource("5_gyuma") font_size = 32 font_color = Color(0, 0, 0, 1) [sub_resource type="Animation" id="Animation_mk7yq"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("RootMover/Card Front:visible") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 1, "values": [true] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("RootMover/Card Back:visible") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 1, "values": [false] } tracks/2/type = "value" tracks/2/imported = false tracks/2/enabled = true tracks/2/path = NodePath("RootMover:position") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Vector2(0, 0)] } tracks/3/type = "value" tracks/3/imported = false tracks/3/enabled = true tracks/3/path = NodePath("RootMover:scale") tracks/3/interp = 1 tracks/3/loop_wrap = true tracks/3/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Vector2(1, 1)] } tracks/4/type = "bezier" tracks/4/imported = false tracks/4/enabled = true tracks/4/path = NodePath("RootMover/Card Front/PostIt:anchor_left") tracks/4/interp = 1 tracks/4/loop_wrap = true tracks/4/keys = { "handle_modes": PackedInt32Array(0), "points": PackedFloat32Array(0.367, -0.25, 0, 0.25, 0), "times": PackedFloat32Array(0) } tracks/5/type = "bezier" tracks/5/imported = false tracks/5/enabled = true tracks/5/path = NodePath("RootMover/Card Front/PostIt:anchor_top") tracks/5/interp = 1 tracks/5/loop_wrap = true tracks/5/keys = { "handle_modes": PackedInt32Array(0), "points": PackedFloat32Array(0.061, -0.25, 0, 0.25, 0), "times": PackedFloat32Array(0) } tracks/6/type = "bezier" tracks/6/imported = false tracks/6/enabled = true tracks/6/path = NodePath("RootMover/Card Front/PostIt:anchor_right") tracks/6/interp = 1 tracks/6/loop_wrap = true tracks/6/keys = { "handle_modes": PackedInt32Array(0), "points": PackedFloat32Array(0.882, -0.25, 0, 0.25, 0), "times": PackedFloat32Array(0) } tracks/7/type = "bezier" tracks/7/imported = false tracks/7/enabled = true tracks/7/path = NodePath("RootMover/Card Front/PostIt:anchor_bottom") tracks/7/interp = 1 tracks/7/loop_wrap = true tracks/7/keys = { "handle_modes": PackedInt32Array(0), "points": PackedFloat32Array(0.46, -0.25, 0, 0.25, 0), "times": PackedFloat32Array(0) } tracks/8/type = "bezier" tracks/8/imported = false tracks/8/enabled = true tracks/8/path = NodePath("RootMover/Card Front/PostIt:rotation") tracks/8/interp = 1 tracks/8/loop_wrap = true tracks/8/keys = { "handle_modes": PackedInt32Array(0), "points": PackedFloat32Array(0.174533, -0.25, 0, 0.25, 0), "times": PackedFloat32Array(0) } [sub_resource type="Animation" id="Animation_5efos"] resource_name = "flip_to_back" length = 0.5 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("RootMover/Card Front:visible") tracks/0/interp = 0 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.25), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [true, false] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("RootMover/Card Back:visible") tracks/1/interp = 0 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0, 0.25), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [false, true] } tracks/2/type = "value" tracks/2/imported = false tracks/2/enabled = true tracks/2/path = NodePath("RootMover:scale") tracks/2/interp = 2 tracks/2/loop_wrap = true tracks/2/keys = { "times": PackedFloat32Array(0, 0.250904, 0.5), "transitions": PackedFloat32Array(1, 1, 1), "update": 0, "values": [Vector2(1, 1), Vector2(1e-05, 1), Vector2(1, 1)] } [sub_resource type="Animation" id="Animation_p5l30"] resource_name = "move_from_top" tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("RootMover:position") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 1), "transitions": PackedFloat32Array(0.25, 1), "update": 0, "values": [Vector2(0, -1000), Vector2(0, 0)] } [sub_resource type="Animation" id="Animation_dwrsn"] resource_name = "move_postit_aside" length = 0.5 tracks/0/type = "bezier" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("RootMover/Card Front/PostIt:anchor_left") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "handle_modes": PackedInt32Array(0, 0), "points": PackedFloat32Array(0.367, -0.25, 0, 0.25, 0, 0.959366, -0.25, 0, 0.25, 0), "times": PackedFloat32Array(0, 0.5) } tracks/1/type = "bezier" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("RootMover/Card Front/PostIt:anchor_top") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { "handle_modes": PackedInt32Array(0, 0), "points": PackedFloat32Array(0.061, -0.25, 0, 0.25, 0, 0.096875, -0.25, 0, 0.25, 0), "times": PackedFloat32Array(0, 0.5) } tracks/2/type = "bezier" tracks/2/imported = false tracks/2/enabled = true tracks/2/path = NodePath("RootMover/Card Front/PostIt:anchor_right") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/keys = { "handle_modes": PackedInt32Array(0, 0), "points": PackedFloat32Array(0.882, -0.25, 0, 0.25, 0, 1.47437, -0.25, 0, 0.25, 0), "times": PackedFloat32Array(0, 0.5) } tracks/3/type = "bezier" tracks/3/imported = false tracks/3/enabled = true tracks/3/path = NodePath("RootMover/Card Front/PostIt:anchor_bottom") tracks/3/interp = 1 tracks/3/loop_wrap = true tracks/3/keys = { "handle_modes": PackedInt32Array(0, 0), "points": PackedFloat32Array(0.46, -0.25, 0, 0.25, 0, 0.495875, -0.25, 0, 0.25, 0), "times": PackedFloat32Array(0, 0.5) } tracks/4/type = "bezier" tracks/4/imported = false tracks/4/enabled = true tracks/4/path = NodePath("RootMover/Card Front/PostIt:rotation") tracks/4/interp = 1 tracks/4/loop_wrap = true tracks/4/keys = { "handle_modes": PackedInt32Array(0, 0), "points": PackedFloat32Array(0, -0.25, 0, 0.25, 0, 0.174533, -0.25, 0, 0.25, 0), "times": PackedFloat32Array(0, 0.5) } [sub_resource type="Animation" id="Animation_7gsaj"] resource_name = "move_to_bottom" tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("RootMover:position") tracks/0/interp = 2 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.333333, 1), "transitions": PackedFloat32Array(1, 1, 1), "update": 0, "values": [Vector2(0, 0), Vector2(0, 500), Vector2(0, 2000)] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_p063p"] _data = { "RESET": SubResource("Animation_mk7yq"), "flip_to_back": SubResource("Animation_5efos"), "move_from_top": SubResource("Animation_p5l30"), "move_postit_aside": SubResource("Animation_dwrsn"), "move_to_bottom": SubResource("Animation_7gsaj") } [node name="RoleCard" type="Control"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 size_flags_horizontal = 3 size_flags_vertical = 3 script = ExtResource("1_eonn1") [node name="RootMover" type="AspectRatioContainer" parent="."] custom_minimum_size = Vector2(250, 350) layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 pivot_offset = Vector2(640, 640) mouse_filter = 2 ratio = 0.7143 script = ExtResource("2_ts01c") [node name="Card Front" type="Panel" parent="RootMover"] custom_minimum_size = Vector2(250, 350) layout_mode = 2 mouse_filter = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_d7ow1") [node name="VBoxContainer" type="VBoxContainer" parent="RootMover/Card Front"] layout_mode = 1 anchors_preset = -1 anchor_left = 0.05 anchor_top = 0.05 anchor_right = 0.95 anchor_bottom = 0.95 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 [node name="RoleImage" type="TextureRect" parent="RootMover/Card Front/VBoxContainer"] layout_mode = 2 size_flags_vertical = 3 mouse_filter = 2 texture = ExtResource("3_2uyde") expand_mode = 3 stretch_mode = 5 [node name="RoleName" type="Label" parent="RootMover/Card Front/VBoxContainer"] layout_mode = 2 size_flags_vertical = 0 text = "Psychic" label_settings = SubResource("LabelSettings_ly8gu") horizontal_alignment = 1 vertical_alignment = 1 [node name="HSeparator" type="HSeparator" parent="RootMover/Card Front/VBoxContainer"] layout_mode = 2 size_flags_vertical = 0 mouse_filter = 2 theme_override_styles/separator = SubResource("StyleBoxTexture_wrn5s") [node name="RoleDescription" type="RichTextLabel" parent="RootMover/Card Front/VBoxContainer"] layout_mode = 2 size_flags_vertical = 6 mouse_filter = 2 theme_override_colors/default_color = Color(0, 0, 0, 1) theme_override_fonts/normal_font = SubResource("SystemFont_wxr2e") theme_override_fonts/italics_font = SubResource("SystemFont_dkh20") theme_override_fonts/bold_font = SubResource("SystemFont_k5x4p") bbcode_enabled = true text = "[center]You can investigate players at night to see if they are [b]capable of murder[/b]. This does not [i]necessarily[/i] mean they are your enemy.[/center]" [node name="PostIt" type="Panel" parent="RootMover/Card Front"] layout_mode = 1 anchors_preset = -1 anchor_left = 0.367 anchor_top = 0.061 anchor_right = 0.882 anchor_bottom = 0.46 grow_horizontal = 0 rotation = 0.174533 theme = SubResource("Theme_qoiac") metadata/_edit_use_anchors_ = true [node name="Label" type="Label" parent="RootMover/Card Front/PostIt"] layout_mode = 1 anchors_preset = -1 anchor_left = 0.106 anchor_top = 0.078 anchor_right = 0.873 anchor_bottom = 0.894 grow_horizontal = 2 grow_vertical = 2 text = "The werewolves are: Peachy Nekojimi Cloudy" label_settings = SubResource("LabelSettings_d431t") horizontal_alignment = 1 vertical_alignment = 1 [node name="Card Back" type="Panel" parent="RootMover"] visible = false custom_minimum_size = Vector2(250, 350) layout_mode = 2 mouse_filter = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_d7ow1") [node name="TextureRect" type="TextureRect" parent="RootMover/Card Back"] layout_mode = 1 anchors_preset = -1 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 15.0 offset_top = 15.0 offset_right = -15.0 offset_bottom = -15.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 texture = ExtResource("4_x6x53") expand_mode = 1 stretch_mode = 5 [node name="AnimationPlayer" type="AnimationPlayer" parent="."] libraries = { "": SubResource("AnimationLibrary_p063p") }