tophud (wip)
This commit is contained in:
parent
c7c89f5414
commit
6b5f8dd609
19 changed files with 737 additions and 24 deletions
|
@ -7,6 +7,8 @@ var sfx1 := AudioStreamPlayer.new()
|
|||
var musictrack
|
||||
var isboss
|
||||
var bhud = load("res://levels/bottomhud.tscn").instantiate()
|
||||
var thud = load("res://levels/ui/tophud.tscn").instantiate()
|
||||
var ishud = true
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
|
@ -34,6 +36,7 @@ func _ready():
|
|||
music = load(musictrack)
|
||||
get_tree().root.add_child.call_deferred(level)
|
||||
get_tree().root.add_child.call_deferred(bhud)
|
||||
get_tree().root.add_child.call_deferred(thud)
|
||||
#get_tree().root.add_child.call_deferred(player)
|
||||
bgsound.stream = music
|
||||
if !isboss:
|
||||
|
@ -65,6 +68,7 @@ func _input(event):
|
|||
if Input.is_key_pressed(KEY_ESCAPE) || Input.is_joy_button_pressed(0,JOY_BUTTON_BACK):
|
||||
Global.live = 0
|
||||
Global.bossready = false
|
||||
get_tree().root.remove_child(thud)
|
||||
get_tree().root.remove_child(bhud)
|
||||
get_tree().root.remove_child(player)
|
||||
get_tree().root.remove_child(level)
|
||||
|
@ -72,28 +76,28 @@ func _input(event):
|
|||
get_tree().change_scene_to_file("res://levels/ui/scene.tscn")
|
||||
else:
|
||||
get_tree().change_scene_to_file("res://title.tscn")
|
||||
if (Input.is_key_pressed(KEY_V) && Input.is_key_pressed(KEY_UP)) ||(Input.is_joy_button_pressed(0,JOY_BUTTON_RIGHT_SHOULDER) && Input.is_joy_button_pressed(0,JOY_BUTTON_DPAD_UP)):
|
||||
if (Global.live == 1 && (Input.is_key_pressed(KEY_V) && Input.is_key_pressed(KEY_UP)) ||(Input.is_joy_button_pressed(0,JOY_BUTTON_RIGHT_SHOULDER) && Input.is_joy_button_pressed(0,JOY_BUTTON_DPAD_UP))):
|
||||
if Global.debug:
|
||||
if Global.dparty[0] != null:
|
||||
Global.dcpchar = 0
|
||||
else:
|
||||
if Global.party[0] != null:
|
||||
Global.cpchar = 0
|
||||
elif (Input.is_key_pressed(KEY_V) && Input.is_key_pressed(KEY_RIGHT)) ||(Input.is_joy_button_pressed(0,JOY_BUTTON_RIGHT_SHOULDER) && Input.is_joy_button_pressed(0,JOY_BUTTON_DPAD_RIGHT)):
|
||||
elif (Global.live == 1 && (Input.is_key_pressed(KEY_V) && Input.is_key_pressed(KEY_RIGHT)) ||(Input.is_joy_button_pressed(0,JOY_BUTTON_RIGHT_SHOULDER) && Input.is_joy_button_pressed(0,JOY_BUTTON_DPAD_RIGHT))):
|
||||
if Global.debug:
|
||||
if Global.dparty[1] != null:
|
||||
Global.dcpchar = 1
|
||||
else:
|
||||
if Global.party[1] != null:
|
||||
Global.cpchar = 1
|
||||
elif (Input.is_key_pressed(KEY_V) && Input.is_key_pressed(KEY_DOWN)) ||(Input.is_joy_button_pressed(0,JOY_BUTTON_RIGHT_SHOULDER) && Input.is_joy_button_pressed(0,JOY_BUTTON_DPAD_DOWN)):
|
||||
elif (Global.live == 1 && (Input.is_key_pressed(KEY_V) && Input.is_key_pressed(KEY_DOWN)) ||(Input.is_joy_button_pressed(0,JOY_BUTTON_RIGHT_SHOULDER) && Input.is_joy_button_pressed(0,JOY_BUTTON_DPAD_DOWN))):
|
||||
if Global.debug:
|
||||
if Global.dparty[2] != null:
|
||||
Global.dcpchar = 2
|
||||
else:
|
||||
if Global.party[2] != null:
|
||||
Global.cpchar = 2
|
||||
elif (Input.is_key_pressed(KEY_V) && Input.is_key_pressed(KEY_LEFT)) ||(Input.is_joy_button_pressed(0,JOY_BUTTON_RIGHT_SHOULDER) && Input.is_joy_button_pressed(0,JOY_BUTTON_DPAD_LEFT)):
|
||||
elif (Global.live == 1 && (Input.is_key_pressed(KEY_V) && Input.is_key_pressed(KEY_LEFT)) ||(Input.is_joy_button_pressed(0,JOY_BUTTON_RIGHT_SHOULDER) && Input.is_joy_button_pressed(0,JOY_BUTTON_DPAD_LEFT))):
|
||||
if Global.debug:
|
||||
if Global.dparty[3] != null:
|
||||
Global.dcpchar = 3
|
||||
|
@ -105,3 +109,9 @@ func _input(event):
|
|||
sfx1.stream = load(Global.sfxtracks[1])
|
||||
sfx1.play(0)
|
||||
bgsound.play(0)
|
||||
if Global.cdialog.size() != 0 && ishud:
|
||||
get_tree().root.remove_child(thud)
|
||||
ishud = false
|
||||
elif Global.cdialog.size() == 0&& !ishud:
|
||||
get_tree().root.add_child.call_deferred(thud)
|
||||
ishud = true
|
||||
|
|
|
@ -12,10 +12,10 @@ func _ready():
|
|||
pface = $Playerface
|
||||
if Global.cdialog[dindex][1]:
|
||||
cname.set_text(Global.pcnames[Global.cdialog[dindex][2]])
|
||||
pface.texture = load((Global.pcfaces[Global.cdialog[dindex][2]]))
|
||||
pface.texture = load(Global.pcfaces[Global.cdialog[dindex][2]])
|
||||
else:
|
||||
cname.set_text(Global.npcnames[Global.cdialog[dindex][2]])
|
||||
pface.texture = load((Global.npcfaces[Global.cdialog[dindex][2]]))
|
||||
pface.texture = load(Global.npcfaces[Global.cdialog[dindex][2]])
|
||||
dialog.set_text(Global.cdialog[dindex][0])
|
||||
|
||||
|
||||
|
|
134
levels/ui/tophud.gd
Normal file
134
levels/ui/tophud.gd
Normal file
|
@ -0,0 +1,134 @@
|
|||
extends Control
|
||||
var topleft
|
||||
var topleftbg
|
||||
var cn1
|
||||
var cn2
|
||||
var cn3
|
||||
var cn4
|
||||
var cf1
|
||||
var cf2
|
||||
var cf3
|
||||
var cf4
|
||||
var focus1
|
||||
var focus2
|
||||
var focus3
|
||||
var focus4
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
topleft = $Topleft
|
||||
topleftbg = $Topleftbg
|
||||
cn1 = $Topleft/Character1/VBoxContainer/HBoxContainer/Label
|
||||
cn2 = $Topleft/Character2/VBoxContainer/HBoxContainer/Label
|
||||
cn3 = $Topleft/Character3/VBoxContainer/HBoxContainer/Label
|
||||
cn4 = $Topleft/Character4/VBoxContainer/HBoxContainer/Label
|
||||
cf1 = $Topleft/Character1/TextureRect
|
||||
cf2 = $Topleft/Character2/TextureRect
|
||||
cf3 = $Topleft/Character3/TextureRect
|
||||
cf4 = $Topleft/Character4/TextureRect
|
||||
focus1 = $Topleft/Character1/ColorRect2
|
||||
focus2 = $Topleft/Character2/ColorRect2
|
||||
focus3 = $Topleft/Character3/ColorRect2
|
||||
focus4 = $Topleft/Character4/ColorRect2
|
||||
if Global.mangohud:
|
||||
topleft.position.y = 244
|
||||
topleftbg.position.y = 244
|
||||
_charrefresh()
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta):
|
||||
pass
|
||||
|
||||
func _input(event):
|
||||
_charrefresh()
|
||||
func _charrefresh():
|
||||
if Global.debug:
|
||||
if Global.dparty[0] != null:
|
||||
cn1.set_text(Global.pcnames[Global.dparty[0]])
|
||||
cf1.texture = load(Global.hudfaces[Global.dparty[0]])
|
||||
if Global.dcpchar == 0:
|
||||
focus1.set_color(Color(0, 0, 1, 1))
|
||||
else:
|
||||
focus1.set_color(Color(1, 1, 1, 1))
|
||||
else:
|
||||
cn1.set_text("")
|
||||
cf1.texture = null
|
||||
focus1.set_color(Color(1, 1, 1, 1))
|
||||
if Global.dparty[1] != null:
|
||||
cn2.set_text(Global.pcnames[Global.dparty[1]])
|
||||
cf2.texture = load(Global.hudfaces[Global.dparty[1]])
|
||||
if Global.dcpchar == 1:
|
||||
focus2.set_color(Color(0, 0, 1, 1))
|
||||
else:
|
||||
focus2.set_color(Color(1, 1, 1, 1))
|
||||
else:
|
||||
cn2.set_text("")
|
||||
cf2.texture = null
|
||||
focus2.set_color(Color(1, 1, 1, 1))
|
||||
if Global.dparty[2] != null:
|
||||
cn3.set_text(Global.pcnames[Global.dparty[2]])
|
||||
cf3.texture = load(Global.hudfaces[Global.dparty[2]])
|
||||
if Global.dcpchar == 2:
|
||||
focus3.set_color(Color(0, 0, 1, 1))
|
||||
else:
|
||||
focus3.set_color(Color(1, 1, 1, 1))
|
||||
else:
|
||||
cn3.set_text("")
|
||||
cf3.texture = null
|
||||
focus3.set_color(Color(1, 1, 1, 1))
|
||||
if Global.dparty[3] != null:
|
||||
cn4.set_text(Global.pcnames[Global.dparty[3]])
|
||||
cf4.texture = load(Global.hudfaces[Global.dparty[3]])
|
||||
if Global.dcpchar == 3:
|
||||
focus4.set_color(Color(0, 0, 1, 1))
|
||||
else:
|
||||
focus4.set_color(Color(1, 1, 1, 1))
|
||||
else:
|
||||
cn4.set_text("")
|
||||
cf4.texture = null
|
||||
focus4.set_color(Color(1, 1, 1, 1))
|
||||
else:
|
||||
if Global.party[0] != null:
|
||||
cn1.set_text(Global.pcnames[Global.party[0]])
|
||||
cf1.texture = load(Global.hudfaces[Global.party[0]])
|
||||
if Global.dcpchar == 0:
|
||||
focus1.set_color(Color(0, 0, 1, 1))
|
||||
else:
|
||||
focus1.set_color(Color(1, 1, 1, 1))
|
||||
else:
|
||||
cn1.set_text("")
|
||||
cf1.texture = null
|
||||
focus1.set_color(Color(1, 1, 1, 1))
|
||||
if Global.party[1] != null:
|
||||
cn2.set_text(Global.pcnames[Global.party[1]])
|
||||
cf2.texture = load(Global.hudfaces[Global.party[1]])
|
||||
if Global.dcpchar == 1:
|
||||
focus2.set_color(Color(0, 0, 1, 1))
|
||||
else:
|
||||
focus2.set_color(Color(1, 1, 1, 1))
|
||||
else:
|
||||
cn2.set_text("")
|
||||
cf2.texture = null
|
||||
focus2.set_color(Color(1, 1, 1, 1))
|
||||
if Global.party[2] != null:
|
||||
cn3.set_text(Global.pcnames[Global.party[0]])
|
||||
cf3.texture = load(Global.hudfaces[Global.party[0]])
|
||||
if Global.dcpchar == 2:
|
||||
focus3.set_color(Color(0, 0, 1, 1))
|
||||
else:
|
||||
focus3.set_color(Color(1, 1, 1, 1))
|
||||
else:
|
||||
cn3.set_text("")
|
||||
cf3.texture = null
|
||||
focus3.set_color(Color(1, 1, 1, 1))
|
||||
if Global.party[3] != null:
|
||||
cn4.set_text(Global.pcnames[Global.party[3]])
|
||||
cf4.texture = load(Global.hudfaces[Global.party[3]])
|
||||
if Global.dcpchar == 3:
|
||||
focus4.set_color(Color(0, 0, 1, 1))
|
||||
else:
|
||||
focus4.set_color(Color(1, 1, 1, 1))
|
||||
else:
|
||||
cn4.set_text("")
|
||||
cf4.texture = null
|
||||
focus4.set_color(Color(1, 1, 1, 1))
|
379
levels/ui/tophud.tscn
Normal file
379
levels/ui/tophud.tscn
Normal file
|
@ -0,0 +1,379 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://coaup7cuj7qev"]
|
||||
|
||||
[ext_resource type="Script" path="res://levels/ui/tophud.gd" id="1_pntuv"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ualpu"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_patnr"]
|
||||
bg_color = Color(1, 0, 0, 1)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_05pau"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_u3vj7"]
|
||||
bg_color = Color(1, 0.498039, 0, 1)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ftyws"]
|
||||
|
||||
[node name="Tophud" 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_pntuv")
|
||||
|
||||
[node name="Topleftbg" type="ColorRect" parent="."]
|
||||
layout_mode = 0
|
||||
offset_right = 377.0
|
||||
offset_bottom = 476.0
|
||||
color = Color(0.254902, 0.254902, 0.254902, 0.788235)
|
||||
|
||||
[node name="Topleft" type="VBoxContainer" parent="."]
|
||||
layout_mode = 0
|
||||
offset_right = 377.0
|
||||
offset_bottom = 476.0
|
||||
|
||||
[node name="Character1" type="HBoxContainer" parent="Topleft"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="Topleft/Character1"]
|
||||
custom_minimum_size = Vector2(116, 116)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="Topleft/Character1"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="Topleft/Character1/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="Topleft/Character1/VBoxContainer/HBoxContainer"]
|
||||
custom_minimum_size = Vector2(174, 0)
|
||||
layout_mode = 2
|
||||
text = "Name"
|
||||
|
||||
[node name="Label3" type="Label" parent="Topleft/Character1/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "R1 + ↑"
|
||||
horizontal_alignment = 2
|
||||
|
||||
[node name="HBoxContainer2" type="HBoxContainer" parent="Topleft/Character1/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="Topleft/Character1/VBoxContainer/HBoxContainer2"]
|
||||
custom_minimum_size = Vector2(70, 0)
|
||||
layout_mode = 2
|
||||
text = "Health"
|
||||
|
||||
[node name="ProgressBar" type="ProgressBar" parent="Topleft/Character1/VBoxContainer/HBoxContainer2"]
|
||||
custom_minimum_size = Vector2(100, 0)
|
||||
layout_mode = 2
|
||||
theme_override_styles/background = SubResource("StyleBoxFlat_ualpu")
|
||||
theme_override_styles/fill = SubResource("StyleBoxFlat_patnr")
|
||||
|
||||
[node name="Label2" type="Label" parent="Topleft/Character1/VBoxContainer/HBoxContainer2"]
|
||||
custom_minimum_size = Vector2(63, 0)
|
||||
layout_mode = 2
|
||||
text = "100/100"
|
||||
horizontal_alignment = 2
|
||||
|
||||
[node name="HBoxContainer3" type="HBoxContainer" parent="Topleft/Character1/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="Topleft/Character1/VBoxContainer/HBoxContainer3"]
|
||||
custom_minimum_size = Vector2(70, 0)
|
||||
layout_mode = 2
|
||||
text = "Stamina"
|
||||
|
||||
[node name="ProgressBar" type="ProgressBar" parent="Topleft/Character1/VBoxContainer/HBoxContainer3"]
|
||||
custom_minimum_size = Vector2(100, 0)
|
||||
layout_mode = 2
|
||||
theme_override_styles/background = SubResource("StyleBoxFlat_05pau")
|
||||
theme_override_styles/fill = SubResource("StyleBoxFlat_u3vj7")
|
||||
|
||||
[node name="Label2" type="Label" parent="Topleft/Character1/VBoxContainer/HBoxContainer3"]
|
||||
custom_minimum_size = Vector2(63, 0)
|
||||
layout_mode = 2
|
||||
text = "100/100"
|
||||
horizontal_alignment = 2
|
||||
|
||||
[node name="HBoxContainer4" type="HBoxContainer" parent="Topleft/Character1/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="Topleft/Character1/VBoxContainer/HBoxContainer4"]
|
||||
custom_minimum_size = Vector2(70, 0)
|
||||
layout_mode = 2
|
||||
text = "Skill"
|
||||
|
||||
[node name="ProgressBar" type="ProgressBar" parent="Topleft/Character1/VBoxContainer/HBoxContainer4"]
|
||||
custom_minimum_size = Vector2(100, 0)
|
||||
layout_mode = 2
|
||||
theme_override_styles/background = SubResource("StyleBoxFlat_ftyws")
|
||||
|
||||
[node name="Label2" type="Label" parent="Topleft/Character1/VBoxContainer/HBoxContainer4"]
|
||||
custom_minimum_size = Vector2(63, 0)
|
||||
layout_mode = 2
|
||||
text = "100/100"
|
||||
horizontal_alignment = 2
|
||||
|
||||
[node name="ColorRect2" type="ColorRect" parent="Topleft/Character1"]
|
||||
custom_minimum_size = Vector2(12, 64)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Character2" type="HBoxContainer" parent="Topleft"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="Topleft/Character2"]
|
||||
custom_minimum_size = Vector2(116, 116)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="Topleft/Character2"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="Topleft/Character2/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="Topleft/Character2/VBoxContainer/HBoxContainer"]
|
||||
custom_minimum_size = Vector2(174, 0)
|
||||
layout_mode = 2
|
||||
text = "Name"
|
||||
|
||||
[node name="Label3" type="Label" parent="Topleft/Character2/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "R1 + →"
|
||||
horizontal_alignment = 2
|
||||
|
||||
[node name="HBoxContainer2" type="HBoxContainer" parent="Topleft/Character2/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="Topleft/Character2/VBoxContainer/HBoxContainer2"]
|
||||
custom_minimum_size = Vector2(70, 0)
|
||||
layout_mode = 2
|
||||
text = "Health"
|
||||
|
||||
[node name="ProgressBar" type="ProgressBar" parent="Topleft/Character2/VBoxContainer/HBoxContainer2"]
|
||||
custom_minimum_size = Vector2(100, 0)
|
||||
layout_mode = 2
|
||||
theme_override_styles/background = SubResource("StyleBoxFlat_ualpu")
|
||||
theme_override_styles/fill = SubResource("StyleBoxFlat_patnr")
|
||||
|
||||
[node name="Label2" type="Label" parent="Topleft/Character2/VBoxContainer/HBoxContainer2"]
|
||||
custom_minimum_size = Vector2(63, 0)
|
||||
layout_mode = 2
|
||||
text = "100/100"
|
||||
horizontal_alignment = 2
|
||||
|
||||
[node name="HBoxContainer3" type="HBoxContainer" parent="Topleft/Character2/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="Topleft/Character2/VBoxContainer/HBoxContainer3"]
|
||||
custom_minimum_size = Vector2(70, 0)
|
||||
layout_mode = 2
|
||||
text = "Stamina"
|
||||
|
||||
[node name="ProgressBar" type="ProgressBar" parent="Topleft/Character2/VBoxContainer/HBoxContainer3"]
|
||||
custom_minimum_size = Vector2(100, 0)
|
||||
layout_mode = 2
|
||||
theme_override_styles/background = SubResource("StyleBoxFlat_05pau")
|
||||
theme_override_styles/fill = SubResource("StyleBoxFlat_u3vj7")
|
||||
|
||||
[node name="Label2" type="Label" parent="Topleft/Character2/VBoxContainer/HBoxContainer3"]
|
||||
custom_minimum_size = Vector2(63, 0)
|
||||
layout_mode = 2
|
||||
text = "100/100"
|
||||
horizontal_alignment = 2
|
||||
|
||||
[node name="HBoxContainer4" type="HBoxContainer" parent="Topleft/Character2/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="Topleft/Character2/VBoxContainer/HBoxContainer4"]
|
||||
custom_minimum_size = Vector2(70, 0)
|
||||
layout_mode = 2
|
||||
text = "Skill"
|
||||
|
||||
[node name="ProgressBar" type="ProgressBar" parent="Topleft/Character2/VBoxContainer/HBoxContainer4"]
|
||||
custom_minimum_size = Vector2(100, 0)
|
||||
layout_mode = 2
|
||||
theme_override_styles/background = SubResource("StyleBoxFlat_ftyws")
|
||||
|
||||
[node name="Label2" type="Label" parent="Topleft/Character2/VBoxContainer/HBoxContainer4"]
|
||||
custom_minimum_size = Vector2(63, 0)
|
||||
layout_mode = 2
|
||||
text = "100/100"
|
||||
horizontal_alignment = 2
|
||||
|
||||
[node name="ColorRect2" type="ColorRect" parent="Topleft/Character2"]
|
||||
custom_minimum_size = Vector2(12, 64)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Character3" type="HBoxContainer" parent="Topleft"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="Topleft/Character3"]
|
||||
custom_minimum_size = Vector2(116, 116)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="Topleft/Character3"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="Topleft/Character3/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="Topleft/Character3/VBoxContainer/HBoxContainer"]
|
||||
custom_minimum_size = Vector2(174, 0)
|
||||
layout_mode = 2
|
||||
text = "Name"
|
||||
|
||||
[node name="Label3" type="Label" parent="Topleft/Character3/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "R1 + ↓"
|
||||
horizontal_alignment = 2
|
||||
|
||||
[node name="HBoxContainer2" type="HBoxContainer" parent="Topleft/Character3/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="Topleft/Character3/VBoxContainer/HBoxContainer2"]
|
||||
custom_minimum_size = Vector2(70, 0)
|
||||
layout_mode = 2
|
||||
text = "Health"
|
||||
|
||||
[node name="ProgressBar" type="ProgressBar" parent="Topleft/Character3/VBoxContainer/HBoxContainer2"]
|
||||
custom_minimum_size = Vector2(100, 0)
|
||||
layout_mode = 2
|
||||
theme_override_styles/background = SubResource("StyleBoxFlat_ualpu")
|
||||
theme_override_styles/fill = SubResource("StyleBoxFlat_patnr")
|
||||
|
||||
[node name="Label2" type="Label" parent="Topleft/Character3/VBoxContainer/HBoxContainer2"]
|
||||
custom_minimum_size = Vector2(63, 0)
|
||||
layout_mode = 2
|
||||
text = "100/100"
|
||||
horizontal_alignment = 2
|
||||
|
||||
[node name="HBoxContainer3" type="HBoxContainer" parent="Topleft/Character3/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="Topleft/Character3/VBoxContainer/HBoxContainer3"]
|
||||
custom_minimum_size = Vector2(70, 0)
|
||||
layout_mode = 2
|
||||
text = "Stamina"
|
||||
|
||||
[node name="ProgressBar" type="ProgressBar" parent="Topleft/Character3/VBoxContainer/HBoxContainer3"]
|
||||
custom_minimum_size = Vector2(100, 0)
|
||||
layout_mode = 2
|
||||
theme_override_styles/background = SubResource("StyleBoxFlat_05pau")
|
||||
theme_override_styles/fill = SubResource("StyleBoxFlat_u3vj7")
|
||||
|
||||
[node name="Label2" type="Label" parent="Topleft/Character3/VBoxContainer/HBoxContainer3"]
|
||||
custom_minimum_size = Vector2(63, 0)
|
||||
layout_mode = 2
|
||||
text = "100/100"
|
||||
horizontal_alignment = 2
|
||||
|
||||
[node name="HBoxContainer4" type="HBoxContainer" parent="Topleft/Character3/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="Topleft/Character3/VBoxContainer/HBoxContainer4"]
|
||||
custom_minimum_size = Vector2(70, 0)
|
||||
layout_mode = 2
|
||||
text = "Skill"
|
||||
|
||||
[node name="ProgressBar" type="ProgressBar" parent="Topleft/Character3/VBoxContainer/HBoxContainer4"]
|
||||
custom_minimum_size = Vector2(100, 0)
|
||||
layout_mode = 2
|
||||
theme_override_styles/background = SubResource("StyleBoxFlat_ftyws")
|
||||
|
||||
[node name="Label2" type="Label" parent="Topleft/Character3/VBoxContainer/HBoxContainer4"]
|
||||
custom_minimum_size = Vector2(63, 0)
|
||||
layout_mode = 2
|
||||
text = "100/100"
|
||||
horizontal_alignment = 2
|
||||
|
||||
[node name="ColorRect2" type="ColorRect" parent="Topleft/Character3"]
|
||||
custom_minimum_size = Vector2(12, 64)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Character4" type="HBoxContainer" parent="Topleft"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="Topleft/Character4"]
|
||||
custom_minimum_size = Vector2(116, 116)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="Topleft/Character4"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="Topleft/Character4/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="Topleft/Character4/VBoxContainer/HBoxContainer"]
|
||||
custom_minimum_size = Vector2(174, 0)
|
||||
layout_mode = 2
|
||||
text = "Name"
|
||||
|
||||
[node name="Label3" type="Label" parent="Topleft/Character4/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "R1 + ←"
|
||||
horizontal_alignment = 2
|
||||
|
||||
[node name="HBoxContainer2" type="HBoxContainer" parent="Topleft/Character4/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="Topleft/Character4/VBoxContainer/HBoxContainer2"]
|
||||
custom_minimum_size = Vector2(70, 0)
|
||||
layout_mode = 2
|
||||
text = "Health"
|
||||
|
||||
[node name="ProgressBar" type="ProgressBar" parent="Topleft/Character4/VBoxContainer/HBoxContainer2"]
|
||||
custom_minimum_size = Vector2(100, 0)
|
||||
layout_mode = 2
|
||||
theme_override_styles/background = SubResource("StyleBoxFlat_ualpu")
|
||||
theme_override_styles/fill = SubResource("StyleBoxFlat_patnr")
|
||||
|
||||
[node name="Label2" type="Label" parent="Topleft/Character4/VBoxContainer/HBoxContainer2"]
|
||||
custom_minimum_size = Vector2(63, 0)
|
||||
layout_mode = 2
|
||||
text = "100/100"
|
||||
horizontal_alignment = 2
|
||||
|
||||
[node name="HBoxContainer3" type="HBoxContainer" parent="Topleft/Character4/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="Topleft/Character4/VBoxContainer/HBoxContainer3"]
|
||||
custom_minimum_size = Vector2(70, 0)
|
||||
layout_mode = 2
|
||||
text = "Stamina"
|
||||
|
||||
[node name="ProgressBar" type="ProgressBar" parent="Topleft/Character4/VBoxContainer/HBoxContainer3"]
|
||||
custom_minimum_size = Vector2(100, 0)
|
||||
layout_mode = 2
|
||||
theme_override_styles/background = SubResource("StyleBoxFlat_05pau")
|
||||
theme_override_styles/fill = SubResource("StyleBoxFlat_u3vj7")
|
||||
|
||||
[node name="Label2" type="Label" parent="Topleft/Character4/VBoxContainer/HBoxContainer3"]
|
||||
custom_minimum_size = Vector2(63, 0)
|
||||
layout_mode = 2
|
||||
text = "100/100"
|
||||
horizontal_alignment = 2
|
||||
|
||||
[node name="HBoxContainer4" type="HBoxContainer" parent="Topleft/Character4/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="Topleft/Character4/VBoxContainer/HBoxContainer4"]
|
||||
custom_minimum_size = Vector2(70, 0)
|
||||
layout_mode = 2
|
||||
text = "Skill"
|
||||
|
||||
[node name="ProgressBar" type="ProgressBar" parent="Topleft/Character4/VBoxContainer/HBoxContainer4"]
|
||||
custom_minimum_size = Vector2(100, 0)
|
||||
layout_mode = 2
|
||||
theme_override_styles/background = SubResource("StyleBoxFlat_ftyws")
|
||||
|
||||
[node name="Label2" type="Label" parent="Topleft/Character4/VBoxContainer/HBoxContainer4"]
|
||||
custom_minimum_size = Vector2(63, 0)
|
||||
layout_mode = 2
|
||||
text = "100/100"
|
||||
horizontal_alignment = 2
|
||||
|
||||
[node name="ColorRect2" type="ColorRect" parent="Topleft/Character4"]
|
||||
custom_minimum_size = Vector2(12, 64)
|
||||
layout_mode = 2
|
Loading…
Add table
Add a link
Reference in a new issue