-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplayer_ui.tscn
106 lines (90 loc) · 3.32 KB
/
player_ui.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
[gd_scene load_steps=7 format=3 uid="uid://cppqvlypbi5wh"]
[ext_resource type="Script" path="res://src/player_ui.gd" id="1_ydabh"]
[ext_resource type="FontFile" uid="uid://btdkvp2d8fvms" path="res://assets/fonts/PressStart2P-Regular.ttf" id="2_16x0j"]
[ext_resource type="PackedScene" uid="uid://dhm3gg86ro6vg" path="res://AlchemistCircle.tscn" id="2_bqdh4"]
[ext_resource type="Texture2D" uid="uid://clajejukpuh4i" path="res://assets/SC1.png" id="3_bw72l"]
[sub_resource type="LabelSettings" id="LabelSettings_8d6ff"]
font = ExtResource("2_16x0j")
font_size = 28
font_color = Color(1.1, 1.1, 1.1, 1)
[sub_resource type="LabelSettings" id="LabelSettings_4yacj"]
font = ExtResource("2_16x0j")
font_size = 17
font_color = Color(1.1, 1.1, 1.1, 1)
[node name="PlayerUi" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 1
script = ExtResource("1_ydabh")
test_essences = Array[int]([0])
[node name="bg" type="ColorRect" parent="."]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.180392, 0.180392, 0.180392, 1)
[node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/margin_left = 5
theme_override_constants/margin_top = 5
theme_override_constants/margin_right = 5
theme_override_constants/margin_bottom = 5
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer"]
layout_mode = 2
alignment = 1
[node name="VBoxContainer" type="VFlowContainer" parent="MarginContainer/HBoxContainer"]
layout_mode = 2
theme_override_constants/v_separation = 25
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/HBoxContainer/VBoxContainer"]
layout_mode = 2
alignment = 1
[node name="NameIcon" type="TextureRect" parent="MarginContainer/HBoxContainer/VBoxContainer/HBoxContainer"]
custom_minimum_size = Vector2(50, 50)
layout_mode = 2
texture = ExtResource("3_bw72l")
[node name="NameLabel" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
text = "Player"
label_settings = SubResource("LabelSettings_8d6ff")
horizontal_alignment = 1
[node name="HPLabel" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer"]
layout_mode = 2
text = "HP - 10"
label_settings = SubResource("LabelSettings_4yacj")
horizontal_alignment = 1
[node name="Inventory" type="FlowContainer" parent="MarginContainer/HBoxContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
[node name="Control" type="Control" parent="MarginContainer/HBoxContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
mouse_filter = 1
[node name="AlchemistCircle" parent="MarginContainer/HBoxContainer/VBoxContainer/Control" instance=ExtResource("2_bqdh4")]
custom_minimum_size = Vector2(64, 64)
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -64.0
offset_top = -64.0
offset_right = 64.0
offset_bottom = 64.0
[node name="EndTurnButton" type="Button" parent="MarginContainer/HBoxContainer/VBoxContainer"]
layout_mode = 2
theme_override_fonts/font = ExtResource("2_16x0j")
theme_override_font_sizes/font_size = 20
text = "End Turn"