frame-of-mind/src/logic-scenes/board/card.tscn

92 lines
2.6 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=11 format=3 uid="uid://dy5rd437h5hsw"]
2023-04-19 16:53:24 +00:00
[ext_resource type="Script" path="res://logic-scenes/board/card.gd" id="1_emip0"]
[ext_resource type="Texture2D" uid="uid://sv0nhkkur1tt" path="res://logic-scenes/board/card-textures/cardsheet.png" id="2_ioijn"]
2024-02-02 00:03:28 +00:00
[ext_resource type="Theme" uid="uid://b056fn288p8ha" path="res://logic-scenes/themes/easy-handwriting.theme" id="3_rktsa"]
2023-04-19 16:53:24 +00:00
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_foovg"]
radius = 110.0
height = 336.0
[sub_resource type="AtlasTexture" id="AtlasTexture_ykk13"]
atlas = ExtResource("2_ioijn")
region = Rect2(0, 0, 600, 440)
[sub_resource type="AtlasTexture" id="AtlasTexture_l43eo"]
atlas = ExtResource("2_ioijn")
region = Rect2(600, 0, 600, 440)
[sub_resource type="AtlasTexture" id="AtlasTexture_x2vcn"]
atlas = ExtResource("2_ioijn")
region = Rect2(0, 440, 600, 440)
[sub_resource type="AtlasTexture" id="AtlasTexture_e7401"]
atlas = ExtResource("2_ioijn")
region = Rect2(600, 440, 600, 440)
[sub_resource type="AtlasTexture" id="AtlasTexture_j7wh6"]
atlas = ExtResource("2_ioijn")
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
}]
2023-04-19 16:53:24 +00:00
[node name="card" type="Area2D"]
2023-04-19 16:53:24 +00:00
script = ExtResource("1_emip0")
metadata/type = "card"
2023-04-19 16:53:24 +00:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
2023-06-29 20:29:55 +00:00
position = Vector2(-0.0713516, 0.997451)
rotation = 1.5708
shape = SubResource("CapsuleShape2D_foovg")
[node name="BackgroundSprite" type="AnimatedSprite2D" parent="."]
2023-05-28 14:18:26 +00:00
clip_children = 2
2023-05-16 22:45:01 +00:00
scale = Vector2(0.6, 0.6)
sprite_frames = SubResource("SpriteFrames_ckivt")
2024-02-03 21:00:44 +00:00
frame = 3
2023-04-19 16:53:24 +00:00
[node name="Label" type="Label" parent="."]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
2024-02-03 21:00:44 +00:00
offset_left = -126.0
offset_top = -77.0
offset_right = 128.0
offset_bottom = 88.0
grow_horizontal = 2
grow_vertical = 2
2024-02-03 21:00:44 +00:00
rotation = 0.00872665
2023-05-16 22:45:01 +00:00
theme = ExtResource("3_rktsa")
theme_type_variation = &"card_text"
2023-04-19 16:53:24 +00:00
autowrap_mode = 3
2023-10-12 16:25:21 +00:00
[node name="sticky note anchor" type="Node2D" parent="."]
2023-08-30 09:07:22 +00:00
position = Vector2(-66, 83)
[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"]