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

86 lines
2.3 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=10 format=3 uid="uid://dy5rd437h5hsw"]
2023-04-19 16:53:24 +00:00
[ext_resource type="Script" uid="uid://2loic2eeec5b" 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"]
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_mdi7r"]
atlas = ExtResource("2_ioijn")
region = Rect2(0, 0, 600, 440)
[sub_resource type="AtlasTexture" id="AtlasTexture_e1q5p"]
atlas = ExtResource("2_ioijn")
region = Rect2(600, 0, 600, 440)
[sub_resource type="AtlasTexture" id="AtlasTexture_nu76f"]
atlas = ExtResource("2_ioijn")
region = Rect2(0, 440, 600, 440)
[sub_resource type="AtlasTexture" id="AtlasTexture_es87b"]
atlas = ExtResource("2_ioijn")
region = Rect2(600, 440, 600, 440)
[sub_resource type="AtlasTexture" id="AtlasTexture_7bi75"]
atlas = ExtResource("2_ioijn")
region = Rect2(0, 880, 600, 440)
[sub_resource type="SpriteFrames" id="SpriteFrames_hkrkt"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_mdi7r")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_e1q5p")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_nu76f")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_es87b")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_7bi75")
}],
"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="."]
rotation = 1.5708
shape = SubResource("CapsuleShape2D_foovg")
[node name="BackgroundSprite" type="AnimatedSprite2D" parent="."]
2025-02-24 15:14:08 +00:00
unique_name_in_owner = true
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_hkrkt")
2024-02-06 20:58:29 +00:00
frame = 1
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-04-19 16:53:24 +00:00
autowrap_mode = 3
2025-02-24 15:14:08 +00:00
[node name="StickyNoteAncor" type="Node2D" parent="."]
unique_name_in_owner = true
2023-08-30 09:07:22 +00:00
position = Vector2(-66, 83)