[gd_scene load_steps=11 format=3 uid="uid://ckij5rkss4ds2"] [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"] [ext_resource type="Texture2D" uid="uid://b8cmjj8vq3r8d" path="res://assets/sprites/knight.png" id="3_rypq5"] [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(0.197273, 0.557602, 0.40846, 1) border_width_left = 2 border_width_top = 2 border_width_right = 2 border_width_bottom = 2 border_color = Color(0.00184107, 0.00184107, 0.00184107, 1) corner_radius_top_left = 18 corner_radius_top_right = 18 corner_radius_bottom_right = 18 corner_radius_bottom_left = 18 [sub_resource type="AtlasTexture" id="AtlasTexture_b1xc8"] atlas = ExtResource("3_rypq5") region = Rect2(8, 8, 15, 21) [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 = 119.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 = 238.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 = 84.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 = -22.0 offset_top = -31.0 offset_right = 22.0 offset_bottom = 33.0 grow_horizontal = 2 grow_vertical = 2 texture = SubResource("AtlasTexture_b1xc8") expand_mode = 5 [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 = 44.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 = -51.0 offset_right = -18.0 offset_bottom = -24.0 grow_horizontal = 2 grow_vertical = 0 theme_override_fonts/font = ExtResource("3_7c0yq") value = 25.0