started adding theming to card
This commit is contained in:
parent
2a3109aa45
commit
032fd23490
|
|
@ -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"]
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 1.7 MiB |
|
|
@ -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
|
||||
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Reference in New Issue