[gd_scene load_steps=17 format=3 uid="uid://dp4eps03igd3w"] [ext_resource type="Script" path="res://logic-scenes/board/card.gd" id="1_6ceun"] [ext_resource type="Texture2D" uid="uid://sv0nhkkur1tt" path="res://logic-scenes/board/card-textures/cardsheet.png" id="2_buevv"] [ext_resource type="Texture2D" uid="uid://kpmk21d8rlso" path="res://logic-scenes/board/particle_textures/star.png" id="3_8wu8j"] [ext_resource type="Theme" uid="uid://b056fn288p8ha" path="res://logic-scenes/themes/messy.theme" id="3_mi4ah"] [sub_resource type="AtlasTexture" id="AtlasTexture_ykk13"] atlas = ExtResource("2_buevv") region = Rect2(0, 0, 600, 440) [sub_resource type="AtlasTexture" id="AtlasTexture_l43eo"] atlas = ExtResource("2_buevv") region = Rect2(600, 0, 600, 440) [sub_resource type="AtlasTexture" id="AtlasTexture_x2vcn"] atlas = ExtResource("2_buevv") region = Rect2(0, 440, 600, 440) [sub_resource type="AtlasTexture" id="AtlasTexture_e7401"] atlas = ExtResource("2_buevv") region = Rect2(600, 440, 600, 440) [sub_resource type="AtlasTexture" id="AtlasTexture_j7wh6"] atlas = ExtResource("2_buevv") region = Rect2(0, 880, 600, 440) [sub_resource type="SpriteFrames" id="SpriteFrames_ckivt"] animations = [{ "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_ykk13") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_l43eo") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_x2vcn") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_e7401") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_j7wh6") }], "loop": true, "name": &"default", "speed": 5.0 }] [sub_resource type="GDScript" id="GDScript_8bs16"] script/source = "extends AnimatedSprite2D func _ready(): if not State.reduce_motion: play(\"default\") " [sub_resource type="Gradient" id="Gradient_v70nd"] offsets = PackedFloat32Array(0, 0.213483, 1) colors = PackedColorArray(1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0) [sub_resource type="GradientTexture1D" id="GradientTexture1D_xxq8p"] gradient = SubResource("Gradient_v70nd") [sub_resource type="Curve" id="Curve_q6cmf"] _data = [Vector2(0, 0.354545), 0.0, 0.117786, 0, 0, Vector2(1, 1), 2.34788, 0.0, 0, 0] point_count = 2 [sub_resource type="CurveTexture" id="CurveTexture_cg0w1"] curve = SubResource("Curve_q6cmf") [sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_by44l"] emission_shape = 6 emission_ring_axis = Vector3(0, 0, 1) emission_ring_height = 0.0 emission_ring_radius = 180.0 emission_ring_inner_radius = 170.0 particle_flag_disable_z = true spread = 180.0 gravity = Vector3(0, 0, 0) initial_velocity_min = -10.0 initial_velocity_max = 10.0 angular_velocity_max = 50.0 orbit_velocity_min = 0.0 orbit_velocity_max = 0.0 radial_accel_min = -50.0 scale_curve = SubResource("CurveTexture_cg0w1") color_ramp = SubResource("GradientTexture1D_xxq8p") turbulence_noise_strength = 0.1 anim_speed_min = 1.0 anim_speed_max = 1.0 anim_offset_max = 1.0 attractor_interaction_enabled = false [node name="card" type="Control"] layout_mode = 3 anchors_preset = 0 offset_left = -150.0 offset_top = -110.0 offset_right = 150.0 offset_bottom = 110.0 focus_mode = 2 script = ExtResource("1_6ceun") compatible_postits = Array[Resource("res://logic-scenes/board/post-it.gd")]([null, null, null]) [node name="BackgroundSprite" type="AnimatedSprite2D" parent="."] clip_children = 2 position = Vector2(150, 110) scale = Vector2(0.6, 0.6) sprite_frames = SubResource("SpriteFrames_ckivt") frame = 1 script = SubResource("GDScript_8bs16") [node name="GPUParticles2D" type="GPUParticles2D" parent="BackgroundSprite"] amount = 400 process_material = SubResource("ParticleProcessMaterial_by44l") texture = ExtResource("3_8wu8j") [node name="Label" type="Label" parent="."] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -127.0 offset_top = -82.5 offset_right = 127.0 offset_bottom = 82.5 grow_horizontal = 2 grow_vertical = 2 theme = ExtResource("3_mi4ah") theme_type_variation = &"card_text" autowrap_mode = 3 [node name="postit anchor" type="Control" parent="."] anchors_preset = 0 offset_left = 100.0 offset_top = 148.0 offset_right = 140.0 offset_bottom = 188.0 [connection signal="focus_entered" from="." to="." method="_on_focus_entered"] [connection signal="focus_exited" from="." to="." method="_on_focus_exited"] [connection signal="focus_entered" from="postit anchor" to="." method="_on_postit_anchor_focus_entered"]