[gd_scene load_steps=10 format=3 uid="uid://ckij5rkss4ds2"]

[ext_resource type="Texture2D" uid="uid://bnuv7yqk6pahi" path="res://assets/sprites/avatar.png" id="1_bxo62"]
[ext_resource type="Script" path="res://scripts/ui.gd" id="1_ootcf"]
[ext_resource type="FontFile" uid="uid://c53kogtyjwsss" path="res://assets/fonts/PixelOperator8-Bold.ttf" id="1_qrd6w"]
[ext_resource type="Texture2D" uid="uid://bped01tsjeycn" path="res://assets/sprites/coin.png" id="2_ybo8g"]
[ext_resource type="FontFile" uid="uid://dbjl1e6kdxpl6" path="res://assets/fonts/PixelOperator8.ttf" id="3_7c0yq"]

[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_uwkun"]
bg_color = Color(0.124085, 0.661174, 0.816135, 1)
border_width_left = 4
border_width_top = 4
border_width_right = 4
border_width_bottom = 4
border_color = Color(0, 0, 0, 1)
corner_radius_top_left = 8
corner_radius_top_right = 8
corner_radius_bottom_right = 8
corner_radius_bottom_left = 8
shadow_size = 13
shadow_offset = Vector2(0, 4.2)

[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_8y3hb"]
bg_color = Color(1, 1, 1, 1)
corner_radius_top_left = 4
corner_radius_top_right = 4
corner_radius_bottom_right = 4
corner_radius_bottom_left = 4

[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_3l4nn"]
corner_radius_top_left = 6
corner_radius_top_right = 6
corner_radius_bottom_right = 6
corner_radius_bottom_left = 6

[sub_resource type="AtlasTexture" id="AtlasTexture_hl771"]
atlas = ExtResource("2_ybo8g")
region = Rect2(0, 0, 16, 16)

[node name="UI" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_ootcf")

[node name="PlayerInfoBox" type="Panel" parent="."]
layout_mode = 0
offset_left = 24.0
offset_top = 17.0
offset_right = 374.0
offset_bottom = 134.0
theme_override_styles/panel = SubResource("StyleBoxFlat_uwkun")

[node name="UsernameText" type="Label" parent="PlayerInfoBox"]
layout_mode = 1
offset_left = 100.0
offset_top = 17.0
offset_right = 255.0
offset_bottom = 50.0
theme_override_fonts/font = ExtResource("1_qrd6w")
theme_override_font_sizes/font_size = 12
text = "ItsDrike"
vertical_alignment = 1

[node name="AvatarFrame" type="Panel" parent="PlayerInfoBox"]
layout_mode = 1
anchors_preset = 4
anchor_top = 0.5
anchor_bottom = 0.5
offset_left = 24.0
offset_top = -39.5
offset_right = 94.0
offset_bottom = 30.5
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_8y3hb")

[node name="Avatar" type="TextureRect" parent="PlayerInfoBox/AvatarFrame"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -32.0
offset_top = -31.5
offset_right = 32.0
offset_bottom = 32.5
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("1_bxo62")
expand_mode = 1

[node name="CoinFrame" type="Panel" parent="PlayerInfoBox"]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -112.0
offset_top = 14.0
offset_right = -18.0
offset_bottom = 47.0
grow_horizontal = 0
theme_override_styles/panel = SubResource("StyleBoxFlat_3l4nn")

[node name="CoinIcon" type="TextureRect" parent="PlayerInfoBox/CoinFrame"]
layout_mode = 1
anchors_preset = 4
anchor_top = 0.5
anchor_bottom = 0.5
offset_left = 4.0
offset_top = -16.5
offset_right = 36.0
offset_bottom = 15.5
grow_vertical = 2
texture = SubResource("AtlasTexture_hl771")
expand_mode = 1

[node name="CoinAmountText" type="Label" parent="PlayerInfoBox/CoinFrame"]
layout_mode = 1
anchors_preset = 6
anchor_left = 1.0
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
offset_left = -54.0
offset_top = -10.5
offset_bottom = 12.5
grow_horizontal = 0
grow_vertical = 2
theme_override_fonts/font = ExtResource("3_7c0yq")
theme_override_font_sizes/font_size = 12
text = "?"
vertical_alignment = 1

[node name="ExperienceProgress" type="ProgressBar" parent="PlayerInfoBox"]
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 100.0
offset_top = -49.0
offset_right = -26.0
offset_bottom = -22.0
grow_horizontal = 2
grow_vertical = 0
theme_override_fonts/font = ExtResource("3_7c0yq")
value = 25.0
