diff --git a/src/logic-scenes/board/card.tscn b/src/logic-scenes/board/card.tscn index e62a1719..43901402 100644 --- a/src/logic-scenes/board/card.tscn +++ b/src/logic-scenes/board/card.tscn @@ -1,12 +1,12 @@ -[gd_scene load_steps=4 format=3 uid="uid://dy5rd437h5hsw"] +[gd_scene load_steps=5 format=3 uid="uid://dy5rd437h5hsw"] [ext_resource type="Script" path="res://logic-scenes/board/card.gd" id="1_emip0"] -[ext_resource type="Texture2D" uid="uid://dyirthpnyeh34" path="res://icon.png" id="2_aibwm"] +[ext_resource type="Texture2D" uid="uid://ccncau1yfqyuf" path="res://logic-scenes/board/cardsheet.png" id="2_x4r1c"] +[ext_resource type="Theme" uid="uid://b056fn288p8ha" path="res://logic-scenes/themes/messy.theme" id="3_rktsa"] -[sub_resource type="LabelSettings" id="LabelSettings_13ura"] -font_size = 30 -outline_size = 10 -outline_color = Color(0, 0, 0, 1) +[sub_resource type="AtlasTexture" id="AtlasTexture_olf16"] +atlas = ExtResource("2_x4r1c") +region = Rect2(49, 472.5, 528, 366) [node name="card" type="Control"] layout_mode = 3 @@ -22,25 +22,29 @@ compatible_postits = Array[Resource("res://logic-scenes/board/post-it.gd")]([nul [node name="TextureRect" type="TextureRect" parent="."] layout_mode = 0 -offset_right = 40.0 -offset_bottom = 40.0 -texture = ExtResource("2_aibwm") +offset_right = 528.0 +offset_bottom = 366.0 +scale = Vector2(0.6, 0.6) +texture = SubResource("AtlasTexture_olf16") [node name="Label" type="Label" parent="."] layout_mode = 0 -offset_left = 6.0 -offset_top = 7.0 -offset_right = 251.0 -offset_bottom = 251.0 -label_settings = SubResource("LabelSettings_13ura") +offset_left = 22.0 +offset_top = 35.0 +offset_right = 298.0 +offset_bottom = 215.0 +theme = ExtResource("3_rktsa") +theme_type_variation = &"card_text" +text = "this is a test +with a second line" autowrap_mode = 3 [node name="postit anchor" type="Control" parent="."] anchors_preset = 0 offset_left = 100.0 -offset_top = 184.0 +offset_top = 148.0 offset_right = 140.0 -offset_bottom = 224.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"] diff --git a/src/logic-scenes/board/cardsheet.png b/src/logic-scenes/board/cardsheet.png new file mode 100644 index 00000000..5246524f --- /dev/null +++ b/src/logic-scenes/board/cardsheet.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:37b86c63898d195f01bf8922cc91c20814e8c01e1f07e94116fb3bbc10341437 +size 1801498 diff --git a/src/logic-scenes/board/cardsheet.png.import b/src/logic-scenes/board/cardsheet.png.import new file mode 100644 index 00000000..66f78776 --- /dev/null +++ b/src/logic-scenes/board/cardsheet.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ccncau1yfqyuf" +path="res://.godot/imported/cardsheet.png-12a981863406f733f328cf613f2c086d.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://logic-scenes/board/cardsheet.png" +dest_files=["res://.godot/imported/cardsheet.png-12a981863406f733f328cf613f2c086d.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/src/logic-scenes/startup/startup.tscn b/src/logic-scenes/startup/startup.tscn index c3856eaa..df53e9d4 100644 --- a/src/logic-scenes/startup/startup.tscn +++ b/src/logic-scenes/startup/startup.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=10 format=3 uid="uid://cq2s8oa1ql28l"] +[gd_scene load_steps=10 format=3] [ext_resource type="Texture2D" uid="uid://d0ucjqi8tx6vt" path="res://logic-scenes/startup/start_frame.png" id="1_8giso"] [ext_resource type="Theme" uid="uid://b056fn288p8ha" path="res://logic-scenes/themes/messy.theme" id="1_b01tw"]