mlpcardgame/Scenes/Draft/PlayerItem.tscn

43 lines
1.1 KiB
Text

[gd_scene load_steps=6 format=2]
[ext_resource path="res://Scenes/Draft/PlayerItem.gd" type="Script" id=1]
[ext_resource path="res://UIAssets/Draft/playericons.png" type="Texture" id=2]
[ext_resource path="res://UIAssets/Fonts/Catamaran-Bold.ttf" type="DynamicFontData" id=3]
[sub_resource type="AtlasTexture" id=1]
flags = 13
atlas = ExtResource( 2 )
region = Rect2( 64, 0, 64, 64 )
[sub_resource type="DynamicFont" id=2]
size = 12
extra_spacing_top = 2
font_data = ExtResource( 3 )
[node name="PlayerItem" type="Panel"]
margin_right = 150.0
margin_bottom = 23.0
rect_min_size = Vector2( 150, 23 )
size_flags_horizontal = 3
script = ExtResource( 1 )
pickedColor = Color( 0.380392, 0.984314, 0.372549, 1 )
pickingColor = Color( 1, 0.243137, 0.278431, 1 )
[node name="PlayerIcon" type="TextureRect" parent="."]
anchor_bottom = 1.0
margin_top = 2.0
margin_right = 30.0
margin_bottom = -2.0
texture = SubResource( 1 )
expand = true
stretch_mode = 6
[node name="PlayerName" type="Label" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 30.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_fonts/font = SubResource( 2 )
text = "Nobody"
valign = 1