Ping/Pong
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
[gd_scene load_steps=18 format=3 uid="uid://dl1ohomaanbth"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bq76ikog47k8" path="res://scripts/ui/auth_ui.gd" id="1_uce43"]
|
||||
[ext_resource type="Texture2D" uid="uid://cdasq4ydwp73d" path="res://scenes/auth/bg1.png" id="2_d1qp1"]
|
||||
[ext_resource type="Texture2D" uid="uid://cdasq4ydwp73d" path="res://assets/ui/bg1.png" id="2_d1qp1"]
|
||||
[ext_resource type="Texture2D" uid="uid://i8ew8xhb8wlt" path="res://assets/ui/4.png" id="3_6c4wg"]
|
||||
[ext_resource type="Texture2D" uid="uid://cbbd5opwb6ahf" path="res://assets/ui/bottomBorder.png" id="3_ppeww"]
|
||||
[ext_resource type="FontFile" uid="uid://bckbv8viuh6lm" path="res://assets/fonts/Berry Rotunda.ttf" id="4_ppeww"]
|
||||
@@ -226,6 +226,8 @@ offset_right = 122.0
|
||||
offset_bottom = -217.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
focus_next = NodePath("../UsernameBG/Username")
|
||||
focus_previous = NodePath("../LoginTextureBtn")
|
||||
texture_normal = ExtResource("6_0m802")
|
||||
texture_pressed = ExtResource("7_sffoi")
|
||||
texture_focused = ExtResource("9_0m802")
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.9 MiB |
@@ -1,40 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cdasq4ydwp73d"
|
||||
path="res://.godot/imported/bg1.png-b0daa0a7b41f089a5649e1a0dddea136.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://scenes/auth/bg1.png"
|
||||
dest_files=["res://.godot/imported/bg1.png-b0daa0a7b41f089a5649e1a0dddea136.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
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/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
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,6 +1,21 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://dungeonbrowser"]
|
||||
[gd_scene load_steps=7 format=3 uid="uid://ctsfevsx6nnv2"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/ui/dungeon_browser.gd" id="1"]
|
||||
[ext_resource type="Script" uid="uid://bgepph7eq4pfl" path="res://scripts/ui/dungeon_browser.gd" id="1"]
|
||||
[ext_resource type="FontFile" uid="uid://bckbv8viuh6lm" path="res://assets/fonts/Berry Rotunda.ttf" id="3_lmk4a"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_wt68x"]
|
||||
bg_color = Color(0.40784314, 0.40784314, 0.32156864, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0, 0, 0, 1)
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_wt68x"]
|
||||
|
||||
[sub_resource type="StyleBoxLine" id="StyleBoxLine_oawpy"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_8ybmu"]
|
||||
|
||||
[node name="DungeonBrowser" type="Control"]
|
||||
layout_mode = 3
|
||||
@@ -18,34 +33,51 @@ anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -300.0
|
||||
offset_top = -250.0
|
||||
offset_right = 300.0
|
||||
offset_bottom = 250.0
|
||||
offset_left = -430.0
|
||||
offset_top = -381.0
|
||||
offset_right = 170.0
|
||||
offset_bottom = 119.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
scale = Vector2(1.5200019, 1.5200019)
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_wt68x")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="Panel"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 10.0
|
||||
offset_top = 10.0
|
||||
offset_right = -10.0
|
||||
offset_bottom = -10.0
|
||||
offset_left = 42.105213
|
||||
offset_top = 28.947334
|
||||
offset_right = 42.105225
|
||||
offset_bottom = 28.947327
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
scale = Vector2(0.863487, 0.863487)
|
||||
alignment = 1
|
||||
|
||||
[node name="TitleLabel" type="Label" parent="Panel/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
||||
theme_override_fonts/font = ExtResource("3_lmk4a")
|
||||
theme_override_font_sizes/font_size = 27
|
||||
theme_override_styles/normal = SubResource("StyleBoxEmpty_wt68x")
|
||||
text = "Dungeon Browser"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="HSeparator2" type="HSeparator" parent="Panel/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_styles/separator = SubResource("StyleBoxLine_oawpy")
|
||||
|
||||
[node name="TopBar" type="HBoxContainer" parent="Panel/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="BracketLabel" type="Label" parent="Panel/VBoxContainer/TopBar"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
||||
theme_override_fonts/font = ExtResource("3_lmk4a")
|
||||
theme_override_styles/normal = SubResource("StyleBoxEmpty_8ybmu")
|
||||
text = "Level 1 (Bracket 1-10)"
|
||||
|
||||
[node name="TierSelector" type="OptionButton" parent="Panel/VBoxContainer/TopBar"]
|
||||
@@ -69,6 +101,7 @@ text = "X"
|
||||
|
||||
[node name="HSeparator" type="HSeparator" parent="Panel/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_styles/separator = SubResource("StyleBoxLine_oawpy")
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="Panel/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
@@ -1,11 +1,21 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://dungeonentry"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://dungeonentry"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/ui/dungeon_entry.gd" id="1"]
|
||||
[ext_resource type="Script" uid="uid://pp3l2jiud6d6" path="res://scripts/ui/dungeon_entry.gd" id="1"]
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_17ek4"]
|
||||
colors = PackedColorArray(0.40784314, 0.40784314, 0.32156864, 1, 0.40784314, 0.40784314, 0.32156864, 0.64705884)
|
||||
|
||||
[sub_resource type="GradientTexture2D" id="GradientTexture2D_vj3vt"]
|
||||
gradient = SubResource("Gradient_17ek4")
|
||||
|
||||
[node name="DungeonEntry" type="PanelContainer"]
|
||||
custom_minimum_size = Vector2(0, 60)
|
||||
script = ExtResource("1")
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="."]
|
||||
layout_mode = 2
|
||||
texture = SubResource("GradientTexture2D_vj3vt")
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
|
||||
|
||||
+372
-14
@@ -1,14 +1,45 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://linskq5jx4uh"]
|
||||
[gd_scene load_steps=20 format=3 uid="uid://linskq5jx4uh"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://c4v4vw32gyxbl" path="res://scripts/ui/hub_ui.gd" id="1_u7qci"]
|
||||
[ext_resource type="PackedScene" uid="uid://ctsfevsx6nnv2" path="res://scenes/hub/dungeon_browser.tscn" id="2_browser"]
|
||||
[ext_resource type="Texture2D" uid="uid://cdasq4ydwp73d" path="res://assets/ui/bg1.png" id="2_x5h0m"]
|
||||
[ext_resource type="PackedScene" uid="uid://bwlmaoeg3gbrn" path="res://scenes/ui/inventory.tscn" id="3_inventory"]
|
||||
[ext_resource type="Texture2D" uid="uid://c5mayhik483jx" path="res://assets/ui/border.png" id="3_nk3pq"]
|
||||
[ext_resource type="PackedScene" uid="uid://hsrxtbww60u" path="res://scenes/ui/crafting_ui.tscn" id="4_crafting"]
|
||||
[ext_resource type="Texture2D" uid="uid://dt0uqrxoh4kdj" path="res://assets/ui/xpBarBorder.png" id="4_khm7y"]
|
||||
[ext_resource type="Texture2D" uid="uid://coefkwhawwkt8" path="res://assets/ui/TextFrame.png" id="5_nk0ko"]
|
||||
[ext_resource type="PackedScene" path="res://scenes/ui/stash.tscn" id="5_stash"]
|
||||
[ext_resource type="Texture2D" uid="uid://obf6n8b324k7" path="res://assets/ui/displayint.png" id="6_8wxbt"]
|
||||
[ext_resource type="PackedScene" uid="uid://bevuo5j02po14" path="res://scenes/ui/char_sheet.tscn" id="7_7dxfp"]
|
||||
[ext_resource type="Texture2D" uid="uid://bs0xtpelj7ka4" path="res://assets/ui/plusBtn.png" id="7_hx8vm"]
|
||||
[ext_resource type="Texture2D" uid="uid://cweri4tanbppf" path="res://assets/ui/plusBtnDown.png" id="8_2dc6d"]
|
||||
[ext_resource type="Texture2D" uid="uid://bniu06cdeknuj" path="res://assets/ui/inventory.png" id="9_nk0ko"]
|
||||
[ext_resource type="Texture2D" uid="uid://ds0ugfvjt1ate" path="res://assets/ui/sheet.png" id="10_8wxbt"]
|
||||
|
||||
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_nobn3"]
|
||||
texture = ExtResource("2_x5h0m")
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_v847t"]
|
||||
bg_color = Color(0, 0, 0, 1)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_pi7qk"]
|
||||
bg_color = Color(0.2901961, 0.8784314, 0.28627452, 1)
|
||||
|
||||
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_4ghtg"]
|
||||
texture = ExtResource("6_8wxbt")
|
||||
|
||||
[node name="HubScreen" type="CanvasLayer"]
|
||||
script = ExtResource("1_u7qci")
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="."]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
texture = ExtResource("2_x5h0m")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="Control" type="Control" parent="."]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
@@ -16,7 +47,7 @@ anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
scale = Vector2(1.0018518, 1)
|
||||
scale = Vector2(1.0038548, 1)
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="Control"]
|
||||
layout_mode = 1
|
||||
@@ -25,10 +56,10 @@ anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -226.0
|
||||
offset_top = -168.5
|
||||
offset_right = 226.0
|
||||
offset_bottom = 168.5
|
||||
offset_left = -161.84317
|
||||
offset_top = -249.0
|
||||
offset_right = 351.15698
|
||||
offset_bottom = 88.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
@@ -36,6 +67,7 @@ grow_vertical = 2
|
||||
layout_mode = 2
|
||||
|
||||
[node name="CharacterInfo" type="VBoxContainer" parent="Control/HBoxContainer/LeftPanel"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
|
||||
[node name="NameLabel" type="Label" parent="Control/HBoxContainer/LeftPanel/CharacterInfo"]
|
||||
@@ -52,6 +84,7 @@ layout_mode = 2
|
||||
text = "Gold: 0"
|
||||
|
||||
[node name="StatsPanel" type="GridContainer" parent="Control/HBoxContainer/LeftPanel"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
columns = 3
|
||||
|
||||
@@ -117,17 +150,10 @@ layout_mode = 2
|
||||
layout_mode = 2
|
||||
|
||||
[node name="InventoryBtn" type="Button" parent="Control/HBoxContainer/LeftPanel/MenuButtons"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
text = "Inventory"
|
||||
|
||||
[node name="CraftingBtn" type="Button" parent="Control/HBoxContainer/LeftPanel/MenuButtons"]
|
||||
layout_mode = 2
|
||||
text = "Crafting"
|
||||
|
||||
[node name="StashBtn" type="Button" parent="Control/HBoxContainer/LeftPanel/MenuButtons"]
|
||||
layout_mode = 2
|
||||
text = "Stash 🔐"
|
||||
|
||||
[node name="RightPanel" type="VBoxContainer" parent="Control/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
alignment = 2
|
||||
@@ -163,6 +189,332 @@ text = "Quick Join"
|
||||
layout_mode = 2
|
||||
text = "Browse Dungeons"
|
||||
|
||||
[node name="Panel" type="Panel" parent="Control"]
|
||||
visible = false
|
||||
layout_mode = 0
|
||||
offset_left = 169.3472
|
||||
offset_top = 132.0
|
||||
offset_right = 569.34717
|
||||
offset_bottom = 632.0
|
||||
theme_override_styles/panel = SubResource("StyleBoxTexture_nobn3")
|
||||
|
||||
[node name="Border" type="Sprite2D" parent="Control/Panel"]
|
||||
position = Vector2(200, 250)
|
||||
scale = Vector2(1.231, 1.28)
|
||||
texture = ExtResource("3_nk3pq")
|
||||
|
||||
[node name="Name" type="Label" parent="Control/Panel"]
|
||||
layout_mode = 0
|
||||
offset_left = 145.0
|
||||
offset_top = 13.0
|
||||
offset_right = 237.0
|
||||
offset_bottom = 36.0
|
||||
text = "Placeholder"
|
||||
|
||||
[node name="Level" type="Label" parent="Control/Panel"]
|
||||
layout_mode = 0
|
||||
offset_left = 147.0
|
||||
offset_top = 36.0
|
||||
offset_right = 239.0
|
||||
offset_bottom = 59.0
|
||||
text = "Level"
|
||||
|
||||
[node name="ProgressBar" type="ProgressBar" parent="Control/Panel"]
|
||||
layout_mode = 0
|
||||
offset_left = 99.0
|
||||
offset_top = 61.0
|
||||
offset_right = 299.0
|
||||
offset_bottom = 88.0
|
||||
theme_override_styles/background = SubResource("StyleBoxFlat_v847t")
|
||||
theme_override_styles/fill = SubResource("StyleBoxFlat_pi7qk")
|
||||
min_value = 50.0
|
||||
value = 50.0
|
||||
|
||||
[node name="XpBarBorder" type="Sprite2D" parent="Control/Panel/ProgressBar"]
|
||||
position = Vector2(100, 14)
|
||||
scale = Vector2(1.559995, 1.0799927)
|
||||
texture = ExtResource("4_khm7y")
|
||||
|
||||
[node name="Label" type="Label" parent="Control/Panel"]
|
||||
layout_mode = 0
|
||||
offset_left = 85.0
|
||||
offset_top = 381.0
|
||||
offset_right = 130.0
|
||||
offset_bottom = 404.0
|
||||
text = "Gold: "
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="Control/Panel"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="StrFrame" type="Sprite2D" parent="Control/Panel/HBoxContainer"]
|
||||
position = Vector2(154.5, 180.5)
|
||||
texture = ExtResource("5_nk0ko")
|
||||
|
||||
[node name="StrLabel" type="Label" parent="Control/Panel/HBoxContainer/StrFrame"]
|
||||
offset_left = -32.0
|
||||
offset_top = -26.0
|
||||
offset_right = 35.0
|
||||
offset_bottom = 23.0
|
||||
text = "Strength"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="DisplayCurrentStr" type="Panel" parent="Control/Panel/HBoxContainer/StrFrame"]
|
||||
clip_contents = true
|
||||
offset_left = 70.0
|
||||
offset_top = -16.5
|
||||
offset_right = 145.0
|
||||
offset_bottom = 15.5
|
||||
theme_override_styles/panel = SubResource("StyleBoxTexture_4ghtg")
|
||||
|
||||
[node name="currentStrLabel" type="Label" parent="Control/Panel/HBoxContainer/StrFrame/DisplayCurrentStr"]
|
||||
layout_mode = 0
|
||||
offset_left = 16.0
|
||||
offset_top = 4.5
|
||||
offset_right = 56.0
|
||||
offset_bottom = 27.5
|
||||
text = "0"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="plusStr" type="TextureButton" parent="Control/Panel/HBoxContainer/StrFrame"]
|
||||
offset_left = 145.0
|
||||
offset_top = -16.0
|
||||
offset_right = 185.0
|
||||
offset_bottom = 24.0
|
||||
scale = Vector2(0.5200025, 0.5200025)
|
||||
texture_normal = ExtResource("7_hx8vm")
|
||||
texture_pressed = ExtResource("8_2dc6d")
|
||||
flip_h = true
|
||||
|
||||
[node name="IntFrame" type="Sprite2D" parent="Control/Panel/HBoxContainer"]
|
||||
position = Vector2(154.5, 213.5)
|
||||
texture = ExtResource("5_nk0ko")
|
||||
|
||||
[node name="IntLabel" type="Label" parent="Control/Panel/HBoxContainer/IntFrame"]
|
||||
offset_left = -45.0
|
||||
offset_top = -11.0
|
||||
offset_right = 45.0
|
||||
offset_bottom = 12.0
|
||||
text = "Intelligence"
|
||||
|
||||
[node name="DisplayCurrentInt" type="Panel" parent="Control/Panel/HBoxContainer/IntFrame"]
|
||||
clip_contents = true
|
||||
offset_left = 70.0
|
||||
offset_top = -16.0
|
||||
offset_right = 145.0
|
||||
offset_bottom = 16.0
|
||||
theme_override_styles/panel = SubResource("StyleBoxTexture_4ghtg")
|
||||
|
||||
[node name="currentIntLabel" type="Label" parent="Control/Panel/HBoxContainer/IntFrame/DisplayCurrentInt"]
|
||||
layout_mode = 0
|
||||
offset_left = 16.0
|
||||
offset_top = 5.0
|
||||
offset_right = 56.0
|
||||
offset_bottom = 28.0
|
||||
text = "0"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="plusInt" type="TextureButton" parent="Control/Panel/HBoxContainer/IntFrame"]
|
||||
offset_left = 145.0
|
||||
offset_top = -16.0
|
||||
offset_right = 209.0
|
||||
offset_bottom = 44.0
|
||||
scale = Vector2(0.5200025, 0.5200025)
|
||||
texture_normal = ExtResource("7_hx8vm")
|
||||
texture_pressed = ExtResource("8_2dc6d")
|
||||
flip_h = true
|
||||
|
||||
[node name="DexFrame" type="Sprite2D" parent="Control/Panel/HBoxContainer"]
|
||||
position = Vector2(154.5, 246.5)
|
||||
texture = ExtResource("5_nk0ko")
|
||||
|
||||
[node name="DexLabel" type="Label" parent="Control/Panel/HBoxContainer/DexFrame"]
|
||||
offset_left = -35.0
|
||||
offset_top = -11.0
|
||||
offset_right = 37.0
|
||||
offset_bottom = 12.0
|
||||
text = "Dexterity"
|
||||
|
||||
[node name="DisplayCurrentDex" type="Panel" parent="Control/Panel/HBoxContainer/DexFrame"]
|
||||
clip_contents = true
|
||||
offset_left = 70.0
|
||||
offset_top = -16.0
|
||||
offset_right = 145.0
|
||||
offset_bottom = 16.0
|
||||
theme_override_styles/panel = SubResource("StyleBoxTexture_4ghtg")
|
||||
|
||||
[node name="currentDexLabel" type="Label" parent="Control/Panel/HBoxContainer/DexFrame/DisplayCurrentDex"]
|
||||
layout_mode = 0
|
||||
offset_left = 16.0
|
||||
offset_top = 5.0
|
||||
offset_right = 56.0
|
||||
offset_bottom = 28.0
|
||||
text = "0"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="plusDex" type="TextureButton" parent="Control/Panel/HBoxContainer/DexFrame"]
|
||||
offset_left = 145.0
|
||||
offset_top = -16.0
|
||||
offset_right = 209.0
|
||||
offset_bottom = 44.0
|
||||
scale = Vector2(0.5200025, 0.5200025)
|
||||
texture_normal = ExtResource("7_hx8vm")
|
||||
texture_pressed = ExtResource("8_2dc6d")
|
||||
flip_h = true
|
||||
|
||||
[node name="WisFrame" type="Sprite2D" parent="Control/Panel/HBoxContainer"]
|
||||
position = Vector2(154.5, 279.5)
|
||||
texture = ExtResource("5_nk0ko")
|
||||
|
||||
[node name="WisLabel" type="Label" parent="Control/Panel/HBoxContainer/WisFrame"]
|
||||
offset_left = -30.0
|
||||
offset_top = -11.0
|
||||
offset_right = 33.0
|
||||
offset_bottom = 12.0
|
||||
text = "Wisdom"
|
||||
|
||||
[node name="DisplayCurrentWis" type="Panel" parent="Control/Panel/HBoxContainer/WisFrame"]
|
||||
clip_contents = true
|
||||
offset_left = 70.0
|
||||
offset_top = -16.0
|
||||
offset_right = 145.0
|
||||
offset_bottom = 16.0
|
||||
theme_override_styles/panel = SubResource("StyleBoxTexture_4ghtg")
|
||||
|
||||
[node name="currentWisLabel" type="Label" parent="Control/Panel/HBoxContainer/WisFrame/DisplayCurrentWis"]
|
||||
layout_mode = 0
|
||||
offset_left = 17.0
|
||||
offset_top = 4.0
|
||||
offset_right = 57.0
|
||||
offset_bottom = 27.0
|
||||
text = "0"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="plusWis" type="TextureButton" parent="Control/Panel/HBoxContainer/WisFrame"]
|
||||
offset_left = 145.0
|
||||
offset_top = -16.0
|
||||
offset_right = 209.0
|
||||
offset_bottom = 44.0
|
||||
scale = Vector2(0.5200025, 0.5200025)
|
||||
texture_normal = ExtResource("7_hx8vm")
|
||||
texture_pressed = ExtResource("8_2dc6d")
|
||||
flip_h = true
|
||||
|
||||
[node name="EndFrame" type="Sprite2D" parent="Control/Panel/HBoxContainer"]
|
||||
position = Vector2(154.5, 312.5)
|
||||
texture = ExtResource("5_nk0ko")
|
||||
|
||||
[node name="EndLabel" type="Label" parent="Control/Panel/HBoxContainer/EndFrame"]
|
||||
offset_left = -41.0
|
||||
offset_top = -11.0
|
||||
offset_right = 42.0
|
||||
offset_bottom = 12.0
|
||||
text = "Endurance"
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="DisplayCurrentEnd" type="Panel" parent="Control/Panel/HBoxContainer/EndFrame"]
|
||||
clip_contents = true
|
||||
offset_left = 70.0
|
||||
offset_top = -16.0
|
||||
offset_right = 145.0
|
||||
offset_bottom = 16.0
|
||||
theme_override_styles/panel = SubResource("StyleBoxTexture_4ghtg")
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="currentStrLabel" type="Label" parent="Control/Panel/HBoxContainer/EndFrame/DisplayCurrentEnd"]
|
||||
layout_mode = 0
|
||||
offset_left = 18.0
|
||||
offset_top = 3.0
|
||||
offset_right = 58.0
|
||||
offset_bottom = 26.0
|
||||
text = "0"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="plusEnd" type="TextureButton" parent="Control/Panel/HBoxContainer/EndFrame"]
|
||||
offset_left = 145.0
|
||||
offset_top = -16.0
|
||||
offset_right = 209.0
|
||||
offset_bottom = 44.0
|
||||
scale = Vector2(0.5200025, 0.5200025)
|
||||
texture_normal = ExtResource("7_hx8vm")
|
||||
texture_pressed = ExtResource("8_2dc6d")
|
||||
flip_h = true
|
||||
|
||||
[node name="RemainingPoints" type="Sprite2D" parent="Control/Panel/HBoxContainer"]
|
||||
position = Vector2(154.5, 345.5)
|
||||
texture = ExtResource("5_nk0ko")
|
||||
|
||||
[node name="RemainingPointsLabel" type="Label" parent="Control/Panel/HBoxContainer/RemainingPoints"]
|
||||
offset_left = -52.5
|
||||
offset_top = -12.0
|
||||
offset_right = 51.5
|
||||
offset_bottom = 11.0
|
||||
text = "Stats to place"
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="DisplayCurrentRP" type="Panel" parent="Control/Panel/HBoxContainer/RemainingPoints"]
|
||||
clip_contents = true
|
||||
offset_left = 70.0
|
||||
offset_top = -16.0
|
||||
offset_right = 145.0
|
||||
offset_bottom = 16.0
|
||||
theme_override_styles/panel = SubResource("StyleBoxTexture_4ghtg")
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="currentRPLabel" type="Label" parent="Control/Panel/HBoxContainer/RemainingPoints/DisplayCurrentRP"]
|
||||
layout_mode = 0
|
||||
offset_left = 18.0
|
||||
offset_top = 3.0
|
||||
offset_right = 58.0
|
||||
offset_bottom = 26.0
|
||||
text = "0"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="InventoryBtn" type="TextureButton" parent="Control"]
|
||||
layout_mode = 0
|
||||
offset_left = 183.29343
|
||||
offset_top = 653.0
|
||||
offset_right = 366.29343
|
||||
offset_bottom = 836.0
|
||||
scale = Vector2(0.44, 0.44)
|
||||
texture_normal = ExtResource("9_nk0ko")
|
||||
|
||||
[node name="CraftingBtn" type="Button" parent="Control"]
|
||||
layout_mode = 0
|
||||
offset_left = 292.87106
|
||||
offset_top = 681.0
|
||||
offset_right = 362.87106
|
||||
offset_bottom = 712.0
|
||||
text = "Crafting"
|
||||
|
||||
[node name="StashBtn" type="Button" parent="Control"]
|
||||
layout_mode = 0
|
||||
offset_left = 375.55234
|
||||
offset_top = 681.0
|
||||
offset_right = 452.55234
|
||||
offset_bottom = 712.0
|
||||
text = "Stash 🔐"
|
||||
|
||||
[node name="CharSheetBtn" type="TextureButton" parent="Control"]
|
||||
layout_mode = 0
|
||||
offset_left = 101.60833
|
||||
offset_top = 653.0
|
||||
offset_right = 284.60834
|
||||
offset_bottom = 836.0
|
||||
scale = Vector2(0.44000217, 0.44000217)
|
||||
texture_normal = ExtResource("10_8wxbt")
|
||||
|
||||
[node name="DungeonBrowser" parent="." instance=ExtResource("2_browser")]
|
||||
visible = false
|
||||
|
||||
@@ -171,3 +523,9 @@ visible = false
|
||||
[node name="CraftingUI" parent="." instance=ExtResource("4_crafting")]
|
||||
|
||||
[node name="StashUI" parent="." instance=ExtResource("5_stash")]
|
||||
|
||||
[node name="CharSheetUI" parent="." instance=ExtResource("7_7dxfp")]
|
||||
visible = false
|
||||
offset = Vector2(200, 150)
|
||||
scale = Vector2(0.75, 0.75)
|
||||
transform = Transform2D(0.75, 0, 0, 0.75, 200, 150)
|
||||
|
||||
@@ -0,0 +1,531 @@
|
||||
[gd_scene load_steps=20 format=3 uid="uid://linskq5jx4uh"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://c4v4vw32gyxbl" path="res://scripts/ui/hub_ui.gd" id="1_u7qci"]
|
||||
[ext_resource type="PackedScene" uid="uid://ctsfevsx6nnv2" path="res://scenes/hub/dungeon_browser.tscn" id="2_browser"]
|
||||
[ext_resource type="Texture2D" uid="uid://cdasq4ydwp73d" path="res://assets/ui/bg1.png" id="2_x5h0m"]
|
||||
[ext_resource type="PackedScene" uid="uid://bwlmaoeg3gbrn" path="res://scenes/ui/inventory.tscn" id="3_inventory"]
|
||||
[ext_resource type="Texture2D" uid="uid://c5mayhik483jx" path="res://assets/ui/border.png" id="3_nk3pq"]
|
||||
[ext_resource type="PackedScene" uid="uid://hsrxtbww60u" path="res://scenes/ui/crafting_ui.tscn" id="4_crafting"]
|
||||
[ext_resource type="Texture2D" uid="uid://dt0uqrxoh4kdj" path="res://assets/ui/xpBarBorder.png" id="4_khm7y"]
|
||||
[ext_resource type="Texture2D" uid="uid://coefkwhawwkt8" path="res://assets/ui/TextFrame.png" id="5_nk0ko"]
|
||||
[ext_resource type="PackedScene" path="res://scenes/ui/stash.tscn" id="5_stash"]
|
||||
[ext_resource type="Texture2D" uid="uid://obf6n8b324k7" path="res://assets/ui/displayint.png" id="6_8wxbt"]
|
||||
[ext_resource type="PackedScene" uid="uid://bevuo5j02po14" path="res://scenes/ui/char_sheet.tscn" id="7_7dxfp"]
|
||||
[ext_resource type="Texture2D" uid="uid://bs0xtpelj7ka4" path="res://assets/ui/plusBtn.png" id="7_hx8vm"]
|
||||
[ext_resource type="Texture2D" uid="uid://cweri4tanbppf" path="res://assets/ui/plusBtnDown.png" id="8_2dc6d"]
|
||||
[ext_resource type="Texture2D" uid="uid://bniu06cdeknuj" path="res://assets/ui/inventory.png" id="9_nk0ko"]
|
||||
[ext_resource type="Texture2D" uid="uid://ds0ugfvjt1ate" path="res://assets/ui/sheet.png" id="10_8wxbt"]
|
||||
|
||||
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_nobn3"]
|
||||
texture = ExtResource("2_x5h0m")
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_v847t"]
|
||||
bg_color = Color(0, 0, 0, 1)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_pi7qk"]
|
||||
bg_color = Color(0.2901961, 0.8784314, 0.28627452, 1)
|
||||
|
||||
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_4ghtg"]
|
||||
texture = ExtResource("6_8wxbt")
|
||||
|
||||
[node name="HubScreen" type="CanvasLayer"]
|
||||
script = ExtResource("1_u7qci")
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="."]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
texture = ExtResource("2_x5h0m")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="Control" type="Control" parent="."]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
scale = Vector2(1.0038548, 1)
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="Control"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -161.84317
|
||||
offset_top = -249.0
|
||||
offset_right = 351.15698
|
||||
offset_bottom = 88.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="LeftPanel" type="VBoxContainer" parent="Control/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="CharacterInfo" type="VBoxContainer" parent="Control/HBoxContainer/LeftPanel"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
|
||||
[node name="NameLabel" type="Label" parent="Control/HBoxContainer/LeftPanel/CharacterInfo"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="LevelLabel" type="Label" parent="Control/HBoxContainer/LeftPanel/CharacterInfo"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="XPBar" type="ProgressBar" parent="Control/HBoxContainer/LeftPanel/CharacterInfo"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="GoldLabel" type="Label" parent="Control/HBoxContainer/LeftPanel/CharacterInfo"]
|
||||
layout_mode = 2
|
||||
text = "Gold: 0"
|
||||
|
||||
[node name="StatsPanel" type="GridContainer" parent="Control/HBoxContainer/LeftPanel"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
columns = 3
|
||||
|
||||
[node name="StrLabel" type="Label" parent="Control/HBoxContainer/LeftPanel/StatsPanel"]
|
||||
layout_mode = 2
|
||||
text = "Strength"
|
||||
|
||||
[node name="StrValue" type="Label" parent="Control/HBoxContainer/LeftPanel/StatsPanel"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="StrButton" type="Button" parent="Control/HBoxContainer/LeftPanel/StatsPanel"]
|
||||
layout_mode = 2
|
||||
text = "+"
|
||||
|
||||
[node name="IntLabel" type="Label" parent="Control/HBoxContainer/LeftPanel/StatsPanel"]
|
||||
layout_mode = 2
|
||||
text = "Intelligence"
|
||||
|
||||
[node name="IntValue" type="Label" parent="Control/HBoxContainer/LeftPanel/StatsPanel"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="IntButton" type="Button" parent="Control/HBoxContainer/LeftPanel/StatsPanel"]
|
||||
layout_mode = 2
|
||||
text = "+"
|
||||
|
||||
[node name="DexLabel" type="Label" parent="Control/HBoxContainer/LeftPanel/StatsPanel"]
|
||||
layout_mode = 2
|
||||
text = "Dexterity"
|
||||
|
||||
[node name="DexValue" type="Label" parent="Control/HBoxContainer/LeftPanel/StatsPanel"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="DexButton" type="Button" parent="Control/HBoxContainer/LeftPanel/StatsPanel"]
|
||||
layout_mode = 2
|
||||
text = "+"
|
||||
|
||||
[node name="WisLabel" type="Label" parent="Control/HBoxContainer/LeftPanel/StatsPanel"]
|
||||
layout_mode = 2
|
||||
text = "Wisdom"
|
||||
|
||||
[node name="WisValue" type="Label" parent="Control/HBoxContainer/LeftPanel/StatsPanel"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="WisButton" type="Button" parent="Control/HBoxContainer/LeftPanel/StatsPanel"]
|
||||
layout_mode = 2
|
||||
text = "+"
|
||||
|
||||
[node name="EndLabel" type="Label" parent="Control/HBoxContainer/LeftPanel/StatsPanel"]
|
||||
layout_mode = 2
|
||||
text = "Endurance"
|
||||
|
||||
[node name="EndValue" type="Label" parent="Control/HBoxContainer/LeftPanel/StatsPanel"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="EndButton" type="Button" parent="Control/HBoxContainer/LeftPanel/StatsPanel"]
|
||||
layout_mode = 2
|
||||
text = "+"
|
||||
|
||||
[node name="PointsRemaining" type="Label" parent="Control/HBoxContainer/LeftPanel/StatsPanel"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="MenuButtons" type="HBoxContainer" parent="Control/HBoxContainer/LeftPanel"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="InventoryBtn" type="Button" parent="Control/HBoxContainer/LeftPanel/MenuButtons"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
text = "Inventory"
|
||||
|
||||
[node name="RightPanel" type="VBoxContainer" parent="Control/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
alignment = 2
|
||||
|
||||
[node name="TierSelection" type="HBoxContainer" parent="Control/HBoxContainer/RightPanel"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Tier1Btn" type="Button" parent="Control/HBoxContainer/RightPanel/TierSelection"]
|
||||
layout_mode = 2
|
||||
text = "Tier 1"
|
||||
|
||||
[node name="Tier2Btn" type="Button" parent="Control/HBoxContainer/RightPanel/TierSelection"]
|
||||
layout_mode = 2
|
||||
text = "Tier 2"
|
||||
|
||||
[node name="Tier3Btn" type="Button" parent="Control/HBoxContainer/RightPanel/TierSelection"]
|
||||
layout_mode = 2
|
||||
text = "Tier 3"
|
||||
|
||||
[node name="Tier4Btn" type="Button" parent="Control/HBoxContainer/RightPanel/TierSelection"]
|
||||
layout_mode = 2
|
||||
text = "Tier 4"
|
||||
|
||||
[node name="Tier5Btn" type="Button" parent="Control/HBoxContainer/RightPanel/TierSelection"]
|
||||
layout_mode = 2
|
||||
text = "Tier 5"
|
||||
|
||||
[node name="EnterDungeonBtn" type="Button" parent="Control/HBoxContainer/RightPanel"]
|
||||
layout_mode = 2
|
||||
text = "Quick Join"
|
||||
|
||||
[node name="BrowseDungeonsBtn" type="Button" parent="Control/HBoxContainer/RightPanel"]
|
||||
layout_mode = 2
|
||||
text = "Browse Dungeons"
|
||||
|
||||
[node name="Panel" type="Panel" parent="Control"]
|
||||
visible = false
|
||||
layout_mode = 0
|
||||
offset_left = 169.3472
|
||||
offset_top = 132.0
|
||||
offset_right = 569.34717
|
||||
offset_bottom = 632.0
|
||||
theme_override_styles/panel = SubResource("StyleBoxTexture_nobn3")
|
||||
|
||||
[node name="Border" type="Sprite2D" parent="Control/Panel"]
|
||||
position = Vector2(200, 250)
|
||||
scale = Vector2(1.231, 1.28)
|
||||
texture = ExtResource("3_nk3pq")
|
||||
|
||||
[node name="Name" type="Label" parent="Control/Panel"]
|
||||
layout_mode = 0
|
||||
offset_left = 145.0
|
||||
offset_top = 13.0
|
||||
offset_right = 237.0
|
||||
offset_bottom = 36.0
|
||||
text = "Placeholder"
|
||||
|
||||
[node name="Level" type="Label" parent="Control/Panel"]
|
||||
layout_mode = 0
|
||||
offset_left = 147.0
|
||||
offset_top = 36.0
|
||||
offset_right = 239.0
|
||||
offset_bottom = 59.0
|
||||
text = "Level"
|
||||
|
||||
[node name="ProgressBar" type="ProgressBar" parent="Control/Panel"]
|
||||
layout_mode = 0
|
||||
offset_left = 99.0
|
||||
offset_top = 61.0
|
||||
offset_right = 299.0
|
||||
offset_bottom = 88.0
|
||||
theme_override_styles/background = SubResource("StyleBoxFlat_v847t")
|
||||
theme_override_styles/fill = SubResource("StyleBoxFlat_pi7qk")
|
||||
min_value = 50.0
|
||||
value = 50.0
|
||||
|
||||
[node name="XpBarBorder" type="Sprite2D" parent="Control/Panel/ProgressBar"]
|
||||
position = Vector2(100, 14)
|
||||
scale = Vector2(1.559995, 1.0799927)
|
||||
texture = ExtResource("4_khm7y")
|
||||
|
||||
[node name="Label" type="Label" parent="Control/Panel"]
|
||||
layout_mode = 0
|
||||
offset_left = 85.0
|
||||
offset_top = 381.0
|
||||
offset_right = 130.0
|
||||
offset_bottom = 404.0
|
||||
text = "Gold: "
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="Control/Panel"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="StrFrame" type="Sprite2D" parent="Control/Panel/HBoxContainer"]
|
||||
position = Vector2(154.5, 180.5)
|
||||
texture = ExtResource("5_nk0ko")
|
||||
|
||||
[node name="StrLabel" type="Label" parent="Control/Panel/HBoxContainer/StrFrame"]
|
||||
offset_left = -32.0
|
||||
offset_top = -26.0
|
||||
offset_right = 35.0
|
||||
offset_bottom = 23.0
|
||||
text = "Strength"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="DisplayCurrentStr" type="Panel" parent="Control/Panel/HBoxContainer/StrFrame"]
|
||||
clip_contents = true
|
||||
offset_left = 70.0
|
||||
offset_top = -16.5
|
||||
offset_right = 145.0
|
||||
offset_bottom = 15.5
|
||||
theme_override_styles/panel = SubResource("StyleBoxTexture_4ghtg")
|
||||
|
||||
[node name="currentStrLabel" type="Label" parent="Control/Panel/HBoxContainer/StrFrame/DisplayCurrentStr"]
|
||||
layout_mode = 0
|
||||
offset_left = 16.0
|
||||
offset_top = 4.5
|
||||
offset_right = 56.0
|
||||
offset_bottom = 27.5
|
||||
text = "0"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="plusStr" type="TextureButton" parent="Control/Panel/HBoxContainer/StrFrame"]
|
||||
offset_left = 145.0
|
||||
offset_top = -16.0
|
||||
offset_right = 185.0
|
||||
offset_bottom = 24.0
|
||||
scale = Vector2(0.5200025, 0.5200025)
|
||||
texture_normal = ExtResource("7_hx8vm")
|
||||
texture_pressed = ExtResource("8_2dc6d")
|
||||
flip_h = true
|
||||
|
||||
[node name="IntFrame" type="Sprite2D" parent="Control/Panel/HBoxContainer"]
|
||||
position = Vector2(154.5, 213.5)
|
||||
texture = ExtResource("5_nk0ko")
|
||||
|
||||
[node name="IntLabel" type="Label" parent="Control/Panel/HBoxContainer/IntFrame"]
|
||||
offset_left = -45.0
|
||||
offset_top = -11.0
|
||||
offset_right = 45.0
|
||||
offset_bottom = 12.0
|
||||
text = "Intelligence"
|
||||
|
||||
[node name="DisplayCurrentInt" type="Panel" parent="Control/Panel/HBoxContainer/IntFrame"]
|
||||
clip_contents = true
|
||||
offset_left = 70.0
|
||||
offset_top = -16.0
|
||||
offset_right = 145.0
|
||||
offset_bottom = 16.0
|
||||
theme_override_styles/panel = SubResource("StyleBoxTexture_4ghtg")
|
||||
|
||||
[node name="currentIntLabel" type="Label" parent="Control/Panel/HBoxContainer/IntFrame/DisplayCurrentInt"]
|
||||
layout_mode = 0
|
||||
offset_left = 16.0
|
||||
offset_top = 5.0
|
||||
offset_right = 56.0
|
||||
offset_bottom = 28.0
|
||||
text = "0"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="plusInt" type="TextureButton" parent="Control/Panel/HBoxContainer/IntFrame"]
|
||||
offset_left = 145.0
|
||||
offset_top = -16.0
|
||||
offset_right = 209.0
|
||||
offset_bottom = 44.0
|
||||
scale = Vector2(0.5200025, 0.5200025)
|
||||
texture_normal = ExtResource("7_hx8vm")
|
||||
texture_pressed = ExtResource("8_2dc6d")
|
||||
flip_h = true
|
||||
|
||||
[node name="DexFrame" type="Sprite2D" parent="Control/Panel/HBoxContainer"]
|
||||
position = Vector2(154.5, 246.5)
|
||||
texture = ExtResource("5_nk0ko")
|
||||
|
||||
[node name="DexLabel" type="Label" parent="Control/Panel/HBoxContainer/DexFrame"]
|
||||
offset_left = -35.0
|
||||
offset_top = -11.0
|
||||
offset_right = 37.0
|
||||
offset_bottom = 12.0
|
||||
text = "Dexterity"
|
||||
|
||||
[node name="DisplayCurrentDex" type="Panel" parent="Control/Panel/HBoxContainer/DexFrame"]
|
||||
clip_contents = true
|
||||
offset_left = 70.0
|
||||
offset_top = -16.0
|
||||
offset_right = 145.0
|
||||
offset_bottom = 16.0
|
||||
theme_override_styles/panel = SubResource("StyleBoxTexture_4ghtg")
|
||||
|
||||
[node name="currentDexLabel" type="Label" parent="Control/Panel/HBoxContainer/DexFrame/DisplayCurrentDex"]
|
||||
layout_mode = 0
|
||||
offset_left = 16.0
|
||||
offset_top = 5.0
|
||||
offset_right = 56.0
|
||||
offset_bottom = 28.0
|
||||
text = "0"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="plusDex" type="TextureButton" parent="Control/Panel/HBoxContainer/DexFrame"]
|
||||
offset_left = 145.0
|
||||
offset_top = -16.0
|
||||
offset_right = 209.0
|
||||
offset_bottom = 44.0
|
||||
scale = Vector2(0.5200025, 0.5200025)
|
||||
texture_normal = ExtResource("7_hx8vm")
|
||||
texture_pressed = ExtResource("8_2dc6d")
|
||||
flip_h = true
|
||||
|
||||
[node name="WisFrame" type="Sprite2D" parent="Control/Panel/HBoxContainer"]
|
||||
position = Vector2(154.5, 279.5)
|
||||
texture = ExtResource("5_nk0ko")
|
||||
|
||||
[node name="WisLabel" type="Label" parent="Control/Panel/HBoxContainer/WisFrame"]
|
||||
offset_left = -30.0
|
||||
offset_top = -11.0
|
||||
offset_right = 33.0
|
||||
offset_bottom = 12.0
|
||||
text = "Wisdom"
|
||||
|
||||
[node name="DisplayCurrentWis" type="Panel" parent="Control/Panel/HBoxContainer/WisFrame"]
|
||||
clip_contents = true
|
||||
offset_left = 70.0
|
||||
offset_top = -16.0
|
||||
offset_right = 145.0
|
||||
offset_bottom = 16.0
|
||||
theme_override_styles/panel = SubResource("StyleBoxTexture_4ghtg")
|
||||
|
||||
[node name="currentWisLabel" type="Label" parent="Control/Panel/HBoxContainer/WisFrame/DisplayCurrentWis"]
|
||||
layout_mode = 0
|
||||
offset_left = 17.0
|
||||
offset_top = 4.0
|
||||
offset_right = 57.0
|
||||
offset_bottom = 27.0
|
||||
text = "0"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="plusWis" type="TextureButton" parent="Control/Panel/HBoxContainer/WisFrame"]
|
||||
offset_left = 145.0
|
||||
offset_top = -16.0
|
||||
offset_right = 209.0
|
||||
offset_bottom = 44.0
|
||||
scale = Vector2(0.5200025, 0.5200025)
|
||||
texture_normal = ExtResource("7_hx8vm")
|
||||
texture_pressed = ExtResource("8_2dc6d")
|
||||
flip_h = true
|
||||
|
||||
[node name="EndFrame" type="Sprite2D" parent="Control/Panel/HBoxContainer"]
|
||||
position = Vector2(154.5, 312.5)
|
||||
texture = ExtResource("5_nk0ko")
|
||||
|
||||
[node name="EndLabel" type="Label" parent="Control/Panel/HBoxContainer/EndFrame"]
|
||||
offset_left = -41.0
|
||||
offset_top = -11.0
|
||||
offset_right = 42.0
|
||||
offset_bottom = 12.0
|
||||
text = "Endurance"
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="DisplayCurrentEnd" type="Panel" parent="Control/Panel/HBoxContainer/EndFrame"]
|
||||
clip_contents = true
|
||||
offset_left = 70.0
|
||||
offset_top = -16.0
|
||||
offset_right = 145.0
|
||||
offset_bottom = 16.0
|
||||
theme_override_styles/panel = SubResource("StyleBoxTexture_4ghtg")
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="currentStrLabel" type="Label" parent="Control/Panel/HBoxContainer/EndFrame/DisplayCurrentEnd"]
|
||||
layout_mode = 0
|
||||
offset_left = 18.0
|
||||
offset_top = 3.0
|
||||
offset_right = 58.0
|
||||
offset_bottom = 26.0
|
||||
text = "0"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="plusEnd" type="TextureButton" parent="Control/Panel/HBoxContainer/EndFrame"]
|
||||
offset_left = 145.0
|
||||
offset_top = -16.0
|
||||
offset_right = 209.0
|
||||
offset_bottom = 44.0
|
||||
scale = Vector2(0.5200025, 0.5200025)
|
||||
texture_normal = ExtResource("7_hx8vm")
|
||||
texture_pressed = ExtResource("8_2dc6d")
|
||||
flip_h = true
|
||||
|
||||
[node name="RemainingPoints" type="Sprite2D" parent="Control/Panel/HBoxContainer"]
|
||||
position = Vector2(154.5, 345.5)
|
||||
texture = ExtResource("5_nk0ko")
|
||||
|
||||
[node name="RemainingPointsLabel" type="Label" parent="Control/Panel/HBoxContainer/RemainingPoints"]
|
||||
offset_left = -52.5
|
||||
offset_top = -12.0
|
||||
offset_right = 51.5
|
||||
offset_bottom = 11.0
|
||||
text = "Stats to place"
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="DisplayCurrentRP" type="Panel" parent="Control/Panel/HBoxContainer/RemainingPoints"]
|
||||
clip_contents = true
|
||||
offset_left = 70.0
|
||||
offset_top = -16.0
|
||||
offset_right = 145.0
|
||||
offset_bottom = 16.0
|
||||
theme_override_styles/panel = SubResource("StyleBoxTexture_4ghtg")
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="currentRPLabel" type="Label" parent="Control/Panel/HBoxContainer/RemainingPoints/DisplayCurrentRP"]
|
||||
layout_mode = 0
|
||||
offset_left = 18.0
|
||||
offset_top = 3.0
|
||||
offset_right = 58.0
|
||||
offset_bottom = 26.0
|
||||
text = "0"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="InventoryBtn" type="TextureButton" parent="Control"]
|
||||
layout_mode = 0
|
||||
offset_left = 183.29343
|
||||
offset_top = 653.0
|
||||
offset_right = 366.29343
|
||||
offset_bottom = 836.0
|
||||
scale = Vector2(0.44, 0.44)
|
||||
texture_normal = ExtResource("9_nk0ko")
|
||||
|
||||
[node name="CraftingBtn" type="Button" parent="Control"]
|
||||
layout_mode = 0
|
||||
offset_left = 292.87106
|
||||
offset_top = 681.0
|
||||
offset_right = 362.87106
|
||||
offset_bottom = 712.0
|
||||
text = "Crafting"
|
||||
|
||||
[node name="StashBtn" type="Button" parent="Control"]
|
||||
layout_mode = 0
|
||||
offset_left = 375.55234
|
||||
offset_top = 681.0
|
||||
offset_right = 452.55234
|
||||
offset_bottom = 712.0
|
||||
text = "Stash 🔐"
|
||||
|
||||
[node name="CharSheetBtn" type="TextureButton" parent="Control"]
|
||||
layout_mode = 0
|
||||
offset_left = 101.60833
|
||||
offset_top = 653.0
|
||||
offset_right = 284.60834
|
||||
offset_bottom = 836.0
|
||||
scale = Vector2(0.44000217, 0.44000217)
|
||||
texture_normal = ExtResource("10_8wxbt")
|
||||
|
||||
[node name="DungeonBrowser" parent="." instance=ExtResource("2_browser")]
|
||||
visible = false
|
||||
|
||||
[node name="InventoryUI" parent="." instance=ExtResource("3_inventory")]
|
||||
|
||||
[node name="CraftingUI" parent="." instance=ExtResource("4_crafting")]
|
||||
|
||||
[node name="StashUI" parent="." instance=ExtResource("5_stash")]
|
||||
|
||||
[node name="CharSheetUI" parent="." instance=ExtResource("7_7dxfp")]
|
||||
visible = false
|
||||
offset = Vector2(200, 150)
|
||||
scale = Vector2(0.75, 0.75)
|
||||
transform = Transform2D(0.75, 0, 0, 0.75, 200, 150)
|
||||
@@ -0,0 +1,323 @@
|
||||
[gd_scene load_steps=13 format=3 uid="uid://bevuo5j02po14"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cdasq4ydwp73d" path="res://assets/ui/bg1.png" id="1_n6ki4"]
|
||||
[ext_resource type="Script" uid="uid://ixmjbaov0w5f" path="res://scripts/ui/char_sheet.gd" id="1_ntogj"]
|
||||
[ext_resource type="Texture2D" uid="uid://c5mayhik483jx" path="res://assets/ui/border.png" id="2_5at6l"]
|
||||
[ext_resource type="Texture2D" uid="uid://dt0uqrxoh4kdj" path="res://assets/ui/xpBarBorder.png" id="3_x3x6m"]
|
||||
[ext_resource type="Texture2D" uid="uid://coefkwhawwkt8" path="res://assets/ui/TextFrame.png" id="4_tmr2d"]
|
||||
[ext_resource type="Texture2D" uid="uid://obf6n8b324k7" path="res://assets/ui/displayint.png" id="5_83noc"]
|
||||
[ext_resource type="Texture2D" uid="uid://bs0xtpelj7ka4" path="res://assets/ui/plusBtn.png" id="6_83noc"]
|
||||
[ext_resource type="Texture2D" uid="uid://cweri4tanbppf" path="res://assets/ui/plusBtnDown.png" id="7_n43et"]
|
||||
|
||||
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_x3x6m"]
|
||||
texture = ExtResource("1_n6ki4")
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_n6ki4"]
|
||||
bg_color = Color(0, 0, 0, 1)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_5at6l"]
|
||||
bg_color = Color(0.2901961, 0.8784314, 0.28627452, 1)
|
||||
|
||||
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_n43et"]
|
||||
texture = ExtResource("5_83noc")
|
||||
|
||||
[node name="CharSheet" type="CanvasLayer"]
|
||||
script = ExtResource("1_ntogj")
|
||||
metadata/_edit_vertical_guides_ = [-77.0]
|
||||
|
||||
[node name="Control" type="Control" parent="."]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Panel" type="Panel" parent="Control"]
|
||||
layout_mode = 0
|
||||
offset_right = 400.0
|
||||
offset_bottom = 500.0
|
||||
theme_override_styles/panel = SubResource("StyleBoxTexture_x3x6m")
|
||||
|
||||
[node name="Border" type="Sprite2D" parent="Control/Panel"]
|
||||
position = Vector2(200, 250)
|
||||
scale = Vector2(1.231, 1.28)
|
||||
texture = ExtResource("2_5at6l")
|
||||
|
||||
[node name="Name" type="Label" parent="Control/Panel"]
|
||||
layout_mode = 0
|
||||
offset_left = 145.0
|
||||
offset_top = 13.0
|
||||
offset_right = 237.0
|
||||
offset_bottom = 36.0
|
||||
text = "Placeholder"
|
||||
|
||||
[node name="Level" type="Label" parent="Control/Panel"]
|
||||
layout_mode = 0
|
||||
offset_left = 147.0
|
||||
offset_top = 36.0
|
||||
offset_right = 239.0
|
||||
offset_bottom = 59.0
|
||||
text = "Level"
|
||||
|
||||
[node name="ProgressBar" type="ProgressBar" parent="Control/Panel"]
|
||||
layout_mode = 0
|
||||
offset_left = 99.0
|
||||
offset_top = 61.0
|
||||
offset_right = 299.0
|
||||
offset_bottom = 88.0
|
||||
theme_override_styles/background = SubResource("StyleBoxFlat_n6ki4")
|
||||
theme_override_styles/fill = SubResource("StyleBoxFlat_5at6l")
|
||||
min_value = 50.0
|
||||
value = 50.0
|
||||
|
||||
[node name="XpBarBorder" type="Sprite2D" parent="Control/Panel/ProgressBar"]
|
||||
position = Vector2(100, 14)
|
||||
scale = Vector2(1.559995, 1.0799927)
|
||||
texture = ExtResource("3_x3x6m")
|
||||
|
||||
[node name="Label" type="Label" parent="Control/Panel"]
|
||||
layout_mode = 0
|
||||
offset_left = 85.0
|
||||
offset_top = 381.0
|
||||
offset_right = 130.0
|
||||
offset_bottom = 404.0
|
||||
text = "Gold: "
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="Control/Panel"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="StrFrame" type="Sprite2D" parent="Control/Panel/HBoxContainer"]
|
||||
position = Vector2(154.5, 180.5)
|
||||
texture = ExtResource("4_tmr2d")
|
||||
|
||||
[node name="StrLabel" type="Label" parent="Control/Panel/HBoxContainer/StrFrame"]
|
||||
offset_left = -32.0
|
||||
offset_top = -26.0
|
||||
offset_right = 35.0
|
||||
offset_bottom = 23.0
|
||||
text = "Strength"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="DisplayCurrentStr" type="Panel" parent="Control/Panel/HBoxContainer/StrFrame"]
|
||||
clip_contents = true
|
||||
offset_left = 70.0
|
||||
offset_top = -16.5
|
||||
offset_right = 145.0
|
||||
offset_bottom = 15.5
|
||||
theme_override_styles/panel = SubResource("StyleBoxTexture_n43et")
|
||||
|
||||
[node name="currentStrLabel" type="Label" parent="Control/Panel/HBoxContainer/StrFrame/DisplayCurrentStr"]
|
||||
layout_mode = 0
|
||||
offset_left = 16.0
|
||||
offset_top = 4.5
|
||||
offset_right = 56.0
|
||||
offset_bottom = 27.5
|
||||
text = "0"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="plusStr" type="TextureButton" parent="Control/Panel/HBoxContainer/StrFrame"]
|
||||
offset_left = 145.0
|
||||
offset_top = -16.0
|
||||
offset_right = 185.0
|
||||
offset_bottom = 24.0
|
||||
scale = Vector2(0.5200025, 0.5200025)
|
||||
texture_normal = ExtResource("6_83noc")
|
||||
texture_pressed = ExtResource("7_n43et")
|
||||
flip_h = true
|
||||
|
||||
[node name="IntFrame" type="Sprite2D" parent="Control/Panel/HBoxContainer"]
|
||||
position = Vector2(154.5, 213.5)
|
||||
texture = ExtResource("4_tmr2d")
|
||||
|
||||
[node name="IntLabel" type="Label" parent="Control/Panel/HBoxContainer/IntFrame"]
|
||||
offset_left = -45.0
|
||||
offset_top = -11.0
|
||||
offset_right = 45.0
|
||||
offset_bottom = 12.0
|
||||
text = "Intelligence"
|
||||
|
||||
[node name="DisplayCurrentInt" type="Panel" parent="Control/Panel/HBoxContainer/IntFrame"]
|
||||
clip_contents = true
|
||||
offset_left = 70.0
|
||||
offset_top = -16.0
|
||||
offset_right = 145.0
|
||||
offset_bottom = 16.0
|
||||
theme_override_styles/panel = SubResource("StyleBoxTexture_n43et")
|
||||
|
||||
[node name="currentIntLabel" type="Label" parent="Control/Panel/HBoxContainer/IntFrame/DisplayCurrentInt"]
|
||||
layout_mode = 0
|
||||
offset_left = 16.0
|
||||
offset_top = 5.0
|
||||
offset_right = 56.0
|
||||
offset_bottom = 28.0
|
||||
text = "0"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="plusInt" type="TextureButton" parent="Control/Panel/HBoxContainer/IntFrame"]
|
||||
offset_left = 145.0
|
||||
offset_top = -16.0
|
||||
offset_right = 209.0
|
||||
offset_bottom = 44.0
|
||||
scale = Vector2(0.5200025, 0.5200025)
|
||||
texture_normal = ExtResource("6_83noc")
|
||||
texture_pressed = ExtResource("7_n43et")
|
||||
flip_h = true
|
||||
|
||||
[node name="DexFrame" type="Sprite2D" parent="Control/Panel/HBoxContainer"]
|
||||
position = Vector2(154.5, 246.5)
|
||||
texture = ExtResource("4_tmr2d")
|
||||
|
||||
[node name="DexLabel" type="Label" parent="Control/Panel/HBoxContainer/DexFrame"]
|
||||
offset_left = -35.0
|
||||
offset_top = -11.0
|
||||
offset_right = 37.0
|
||||
offset_bottom = 12.0
|
||||
text = "Dexterity"
|
||||
|
||||
[node name="DisplayCurrentDex" type="Panel" parent="Control/Panel/HBoxContainer/DexFrame"]
|
||||
clip_contents = true
|
||||
offset_left = 70.0
|
||||
offset_top = -16.0
|
||||
offset_right = 145.0
|
||||
offset_bottom = 16.0
|
||||
theme_override_styles/panel = SubResource("StyleBoxTexture_n43et")
|
||||
|
||||
[node name="currentDexLabel" type="Label" parent="Control/Panel/HBoxContainer/DexFrame/DisplayCurrentDex"]
|
||||
layout_mode = 0
|
||||
offset_left = 16.0
|
||||
offset_top = 5.0
|
||||
offset_right = 56.0
|
||||
offset_bottom = 28.0
|
||||
text = "0"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="plusDex" type="TextureButton" parent="Control/Panel/HBoxContainer/DexFrame"]
|
||||
offset_left = 145.0
|
||||
offset_top = -16.0
|
||||
offset_right = 209.0
|
||||
offset_bottom = 44.0
|
||||
scale = Vector2(0.5200025, 0.5200025)
|
||||
texture_normal = ExtResource("6_83noc")
|
||||
texture_pressed = ExtResource("7_n43et")
|
||||
flip_h = true
|
||||
|
||||
[node name="WisFrame" type="Sprite2D" parent="Control/Panel/HBoxContainer"]
|
||||
position = Vector2(154.5, 279.5)
|
||||
texture = ExtResource("4_tmr2d")
|
||||
|
||||
[node name="WisLabel" type="Label" parent="Control/Panel/HBoxContainer/WisFrame"]
|
||||
offset_left = -30.0
|
||||
offset_top = -11.0
|
||||
offset_right = 33.0
|
||||
offset_bottom = 12.0
|
||||
text = "Wisdom"
|
||||
|
||||
[node name="DisplayCurrentWis" type="Panel" parent="Control/Panel/HBoxContainer/WisFrame"]
|
||||
clip_contents = true
|
||||
offset_left = 70.0
|
||||
offset_top = -16.0
|
||||
offset_right = 145.0
|
||||
offset_bottom = 16.0
|
||||
theme_override_styles/panel = SubResource("StyleBoxTexture_n43et")
|
||||
|
||||
[node name="currentWisLabel" type="Label" parent="Control/Panel/HBoxContainer/WisFrame/DisplayCurrentWis"]
|
||||
layout_mode = 0
|
||||
offset_left = 17.0
|
||||
offset_top = 4.0
|
||||
offset_right = 57.0
|
||||
offset_bottom = 27.0
|
||||
text = "0"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="plusWis" type="TextureButton" parent="Control/Panel/HBoxContainer/WisFrame"]
|
||||
offset_left = 145.0
|
||||
offset_top = -16.0
|
||||
offset_right = 209.0
|
||||
offset_bottom = 44.0
|
||||
scale = Vector2(0.5200025, 0.5200025)
|
||||
texture_normal = ExtResource("6_83noc")
|
||||
texture_pressed = ExtResource("7_n43et")
|
||||
flip_h = true
|
||||
|
||||
[node name="EndFrame" type="Sprite2D" parent="Control/Panel/HBoxContainer"]
|
||||
position = Vector2(154.5, 312.5)
|
||||
texture = ExtResource("4_tmr2d")
|
||||
|
||||
[node name="EndLabel" type="Label" parent="Control/Panel/HBoxContainer/EndFrame"]
|
||||
offset_left = -41.0
|
||||
offset_top = -11.0
|
||||
offset_right = 42.0
|
||||
offset_bottom = 12.0
|
||||
text = "Endurance"
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="DisplayCurrentEnd" type="Panel" parent="Control/Panel/HBoxContainer/EndFrame"]
|
||||
clip_contents = true
|
||||
offset_left = 70.0
|
||||
offset_top = -16.0
|
||||
offset_right = 145.0
|
||||
offset_bottom = 16.0
|
||||
theme_override_styles/panel = SubResource("StyleBoxTexture_n43et")
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="currentStrLabel" type="Label" parent="Control/Panel/HBoxContainer/EndFrame/DisplayCurrentEnd"]
|
||||
layout_mode = 0
|
||||
offset_left = 18.0
|
||||
offset_top = 3.0
|
||||
offset_right = 58.0
|
||||
offset_bottom = 26.0
|
||||
text = "0"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="plusEnd" type="TextureButton" parent="Control/Panel/HBoxContainer/EndFrame"]
|
||||
offset_left = 145.0
|
||||
offset_top = -16.0
|
||||
offset_right = 209.0
|
||||
offset_bottom = 44.0
|
||||
scale = Vector2(0.5200025, 0.5200025)
|
||||
texture_normal = ExtResource("6_83noc")
|
||||
texture_pressed = ExtResource("7_n43et")
|
||||
flip_h = true
|
||||
|
||||
[node name="RemainingPoints" type="Sprite2D" parent="Control/Panel/HBoxContainer"]
|
||||
position = Vector2(154.5, 345.5)
|
||||
texture = ExtResource("4_tmr2d")
|
||||
|
||||
[node name="RemainingPointsLabel" type="Label" parent="Control/Panel/HBoxContainer/RemainingPoints"]
|
||||
offset_left = -52.5
|
||||
offset_top = -12.0
|
||||
offset_right = 51.5
|
||||
offset_bottom = 11.0
|
||||
text = "Stats to place"
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="DisplayCurrentRP" type="Panel" parent="Control/Panel/HBoxContainer/RemainingPoints"]
|
||||
clip_contents = true
|
||||
offset_left = 70.0
|
||||
offset_top = -16.0
|
||||
offset_right = 145.0
|
||||
offset_bottom = 16.0
|
||||
theme_override_styles/panel = SubResource("StyleBoxTexture_n43et")
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="currentRPLabel" type="Label" parent="Control/Panel/HBoxContainer/RemainingPoints/DisplayCurrentRP"]
|
||||
layout_mode = 0
|
||||
offset_left = 18.0
|
||||
offset_top = 3.0
|
||||
offset_right = 58.0
|
||||
offset_bottom = 26.0
|
||||
text = "0"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
+19
-1
@@ -1,6 +1,9 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://cctw06lt2ffgb"]
|
||||
[gd_scene load_steps=8 format=3 uid="uid://cctw06lt2ffgb"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dis78b7f8x3j0" path="res://scripts/ui/hud.gd" id="1_hud"]
|
||||
[ext_resource type="Script" uid="uid://ds8okf626rxye" path="res://addons/touch_screen_joystick/touch_screen_joystick.gd" id="2_hqnrr"]
|
||||
[ext_resource type="Texture2D" uid="uid://7o1jec4i8enj" path="res://addons/touch_screen_joystick/mouseRing.png" id="3_8qguk"]
|
||||
[ext_resource type="Texture2D" uid="uid://dhmh5yumt6ay5" path="res://addons/touch_screen_joystick/mouseBall.png" id="4_136eg"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_0mwgc"]
|
||||
bg_color = Color(0.79607844, 0, 0, 1)
|
||||
@@ -209,3 +212,18 @@ grow_vertical = 2
|
||||
text = "Escaping... 5.0"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="TouchJoystick" type="Control" parent="."]
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
offset_left = 63.0
|
||||
offset_top = 699.0
|
||||
offset_right = 103.0
|
||||
offset_bottom = 739.0
|
||||
scale = Vector2(0.3600018, 0.3600018)
|
||||
script = ExtResource("2_hqnrr")
|
||||
antialiased = true
|
||||
use_textures = true
|
||||
base_texture = ExtResource("3_8qguk")
|
||||
knob_texture = ExtResource("4_136eg")
|
||||
use_input_actions = true
|
||||
|
||||
@@ -1,11 +1,33 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://bwlmaoeg3gbrn"]
|
||||
[gd_scene load_steps=3 format=3 uid="uid://bwlmaoeg3gbrn"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dnt1s2c81111q" path="res://scripts/ui/inventory_ui.gd" id="1_s6ek7"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_s6ek7"]
|
||||
bg_color = Color(0.40784314, 0.40784314, 0.32156864, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0, 0, 0, 1)
|
||||
|
||||
[node name="Inventory" type="CanvasLayer"]
|
||||
visible = false
|
||||
script = ExtResource("1_s6ek7")
|
||||
|
||||
[node name="Control" type="Control" parent="."]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="."]
|
||||
offset_left = 200.0
|
||||
offset_top = 101.0
|
||||
offset_right = 240.0
|
||||
offset_bottom = 141.0
|
||||
|
||||
[node name="PanelContainer" type="PanelContainer" parent="."]
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
@@ -18,6 +40,7 @@ offset_right = 96.0
|
||||
offset_bottom = 44.5
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_s6ek7")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
Reference in New Issue
Block a user