mlpcardgame/Scenes/Draft/CardListItem.tscn

72 lines
1.9 KiB
Text

[gd_scene load_steps=6 format=2]
[ext_resource path="res://Scenes/Draft/CardListItem.gd" type="Script" id=1]
[ext_resource path="res://UIAssets/Fonts/Catamaran-Bold.ttf" type="DynamicFontData" id=2]
[ext_resource path="res://UIAssets/Fonts/Catamaran-Light.ttf" type="DynamicFontData" id=3]
[sub_resource type="DynamicFont" id=1]
size = 12
use_mipmaps = true
use_filter = true
font_data = ExtResource( 2 )
[sub_resource type="DynamicFont" id=2]
size = 12
font_data = ExtResource( 3 )
[node name="CardLabel" type="Panel"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_right = -1080.0
margin_bottom = -777.0
rect_min_size = Vector2( 200, 23 )
script = ExtResource( 1 )
barColors = {
"blue": Color( 0.286275, 0.635294, 0.72549, 1 ),
"none": Color( 0.247059, 0.54902, 0.4, 1 ),
"orange": Color( 0.74902, 0.321569, 0.133333, 1 ),
"pink": Color( 0.870588, 0.34902, 0.705882, 1 ),
"purple": Color( 0.670588, 0.34902, 0.870588, 1 ),
"white": Color( 0.698039, 0.698039, 0.698039, 1 ),
"yellow": Color( 0.788235, 0.792157, 0.431373, 1 )
}
[node name="ColorIndicator" type="ColorRect" parent="."]
anchor_bottom = 1.0
margin_right = 2.0
rect_min_size = Vector2( 3, 0 )
[node name="TextureRect" type="TextureRect" parent="ColorIndicator"]
visible = false
margin_left = 3.0
margin_right = 26.0
margin_bottom = 3.0
rect_rotation = 89.9999
expand = true
[node name="NameBlock" type="HBoxContainer" parent="."]
anchor_right = 1.0
margin_left = 8.0
margin_top = 2.0
margin_right = -4.0
margin_bottom = 2.0
size_flags_horizontal = 3
[node name="Name" type="Label" parent="NameBlock"]
margin_right = 85.0
margin_bottom = 21.0
custom_fonts/font = SubResource( 1 )
text = "Twilight Sparkle"
valign = 1
[node name="Subname" type="Label" parent="NameBlock"]
modulate = Color( 1, 1, 1, 0.666667 )
margin_left = 89.0
margin_right = 188.0
margin_bottom = 21.0
size_flags_horizontal = 3
custom_fonts/font = SubResource( 2 )
text = "Princess of friendship"
valign = 1
clip_text = true