Initial MVP
This commit is contained in:
58
scenes/combat_ui.tscn
Normal file
58
scenes/combat_ui.tscn
Normal file
@@ -0,0 +1,58 @@
|
||||
[gd_scene format=3 uid="uid://combat_ui_scene"]
|
||||
|
||||
[node name="CombatUI" type="Control"]
|
||||
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="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="VBox" type="VBoxContainer" parent="Panel"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -150.0
|
||||
offset_top = -200.0
|
||||
offset_right = 150.0
|
||||
offset_bottom = 200.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="EnemyImage" type="TextureRect" parent="Panel/VBox"]
|
||||
custom_minimum_size = Vector2(200, 200)
|
||||
layout_mode = 2
|
||||
expand_mode = 1
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="EnemyLabel" type="Label" parent="Panel/VBox"]
|
||||
layout_mode = 2
|
||||
text = "Enemy Name (HP: 100/100)"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="HSeparator" type="HSeparator" parent="Panel/VBox"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Actions" type="HBoxContainer" parent="Panel/VBox"]
|
||||
layout_mode = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="BtnAttack" type="Button" parent="Panel/VBox/Actions"]
|
||||
layout_mode = 2
|
||||
text = "Attack"
|
||||
|
||||
[node name="BtnFlee" type="Button" parent="Panel/VBox/Actions"]
|
||||
layout_mode = 2
|
||||
text = "Flee"
|
||||
Reference in New Issue
Block a user