2024-02-06 20:58:29 +00:00
|
|
|
[gd_scene load_steps=17 format=3 uid="uid://vkcdj8c3ytbq"]
|
2023-04-19 16:53:24 +00:00
|
|
|
|
2023-10-12 16:25:21 +00:00
|
|
|
[ext_resource type="Script" path="res://logic-scenes/board/sticky-note.gd" id="1_yvh5n"]
|
2023-05-18 07:27:59 +00:00
|
|
|
[ext_resource type="Texture2D" uid="uid://c8ckkjmdegyis" path="res://logic-scenes/board/card-textures/postitsheet.png" id="2_j17jn"]
|
2023-04-19 16:53:24 +00:00
|
|
|
|
2023-06-28 13:27:05 +00:00
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_ml4q7"]
|
|
|
|
|
radius = 48.0
|
|
|
|
|
height = 312.0
|
|
|
|
|
|
2023-05-18 07:27:59 +00:00
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_nj16s"]
|
|
|
|
|
atlas = ExtResource("2_j17jn")
|
|
|
|
|
region = Rect2(0, 0, 500, 220)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_23tiq"]
|
|
|
|
|
atlas = ExtResource("2_j17jn")
|
|
|
|
|
region = Rect2(500, 0, 500, 220)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_aomh0"]
|
|
|
|
|
atlas = ExtResource("2_j17jn")
|
|
|
|
|
region = Rect2(1000, 0, 500, 220)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_n3svg"]
|
|
|
|
|
atlas = ExtResource("2_j17jn")
|
|
|
|
|
region = Rect2(1500, 0, 500, 220)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_tfg7a"]
|
|
|
|
|
atlas = ExtResource("2_j17jn")
|
|
|
|
|
region = Rect2(0, 220, 500, 220)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_dtics"]
|
|
|
|
|
atlas = ExtResource("2_j17jn")
|
|
|
|
|
region = Rect2(500, 220, 500, 220)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_e0ocs"]
|
|
|
|
|
atlas = ExtResource("2_j17jn")
|
|
|
|
|
region = Rect2(1000, 220, 500, 220)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_bpwg2"]
|
|
|
|
|
atlas = ExtResource("2_j17jn")
|
|
|
|
|
region = Rect2(1500, 220, 500, 220)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_xaxol"]
|
|
|
|
|
atlas = ExtResource("2_j17jn")
|
|
|
|
|
region = Rect2(0, 440, 500, 220)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ifitb"]
|
|
|
|
|
atlas = ExtResource("2_j17jn")
|
|
|
|
|
region = Rect2(500, 440, 500, 220)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_6slhe"]
|
|
|
|
|
atlas = ExtResource("2_j17jn")
|
|
|
|
|
region = Rect2(1000, 440, 500, 220)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_4tk5m"]
|
|
|
|
|
atlas = ExtResource("2_j17jn")
|
|
|
|
|
region = Rect2(1500, 440, 500, 220)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_2amsi"]
|
|
|
|
|
animations = [{
|
|
|
|
|
"frames": [{
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_nj16s")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_23tiq")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_aomh0")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_n3svg")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_tfg7a")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_dtics")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_e0ocs")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_bpwg2")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_xaxol")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_ifitb")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_6slhe")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_4tk5m")
|
|
|
|
|
}],
|
|
|
|
|
"loop": true,
|
|
|
|
|
"name": &"default",
|
|
|
|
|
"speed": 5.0
|
|
|
|
|
}]
|
2023-04-19 16:53:24 +00:00
|
|
|
|
2023-10-12 16:25:21 +00:00
|
|
|
[node name="sticky-note" type="Area2D"]
|
2023-04-19 16:53:24 +00:00
|
|
|
script = ExtResource("1_yvh5n")
|
2023-06-28 13:27:05 +00:00
|
|
|
highlight_color = Color(1.2, 1.2, 1.2, 1)
|
2023-10-12 16:25:21 +00:00
|
|
|
metadata/type = "sticky-note"
|
2023-04-19 16:53:24 +00:00
|
|
|
|
2023-06-28 13:27:05 +00:00
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
|
|
|
position = Vector2(99.5, 0)
|
|
|
|
|
rotation = 1.5708
|
|
|
|
|
shape = SubResource("CapsuleShape2D_ml4q7")
|
|
|
|
|
|
|
|
|
|
[node name="Content" type="Node2D" parent="."]
|
|
|
|
|
|
|
|
|
|
[node name="BackgroundSprite" type="AnimatedSprite2D" parent="Content"]
|
2023-06-28 10:18:00 +00:00
|
|
|
position = Vector2(99.5, 0)
|
2023-05-18 07:27:59 +00:00
|
|
|
scale = Vector2(0.65, 0.65)
|
|
|
|
|
sprite_frames = SubResource("SpriteFrames_2amsi")
|
2023-06-29 20:19:58 +00:00
|
|
|
frame = 5
|
2023-04-19 16:53:24 +00:00
|
|
|
|
2023-06-28 13:27:05 +00:00
|
|
|
[node name="Label" type="Label" parent="Content"]
|
2023-05-18 07:27:59 +00:00
|
|
|
anchors_preset = 8
|
|
|
|
|
anchor_left = 0.5
|
|
|
|
|
anchor_top = 0.5
|
|
|
|
|
anchor_right = 0.5
|
|
|
|
|
anchor_bottom = 0.5
|
2023-06-28 10:18:00 +00:00
|
|
|
offset_left = -38.0
|
2023-05-18 07:27:59 +00:00
|
|
|
offset_top = -50.0
|
2023-06-28 10:18:00 +00:00
|
|
|
offset_right = 239.0
|
2023-05-18 07:27:59 +00:00
|
|
|
offset_bottom = 47.0
|
|
|
|
|
grow_horizontal = 2
|
|
|
|
|
grow_vertical = 2
|
|
|
|
|
theme_type_variation = &"card_text"
|
|
|
|
|
vertical_alignment = 1
|
2023-04-19 16:53:24 +00:00
|
|
|
autowrap_mode = 3
|
2023-06-29 20:19:58 +00:00
|
|
|
|
|
|
|
|
[connection signal="input_event" from="." to="." method="_on_input_event"]
|
|
|
|
|
[connection signal="mouse_entered" from="." to="." method="_on_mouse_entered"]
|
|
|
|
|
[connection signal="mouse_exited" from="." to="." method="_on_mouse_exited"]
|