diff options
Diffstat (limited to 'scenes/GUI')
| -rw-r--r-- | scenes/GUI/spell_menu_entry.tscn | 31 | ||||
| -rw-r--r-- | scenes/GUI/spellbook_menu.tscn | 36 |
2 files changed, 67 insertions, 0 deletions
diff --git a/scenes/GUI/spell_menu_entry.tscn b/scenes/GUI/spell_menu_entry.tscn new file mode 100644 index 0000000..d50b5cd --- /dev/null +++ b/scenes/GUI/spell_menu_entry.tscn @@ -0,0 +1,31 @@ +[gd_scene load_steps=3 format=3 uid="uid://boioo6c5yu8to"] + +[ext_resource type="Script" uid="uid://bg766ly1f747t" path="res://scripts/GUI/SpellMenuEntry.cs" id="1_kcgob"] +[ext_resource type="Texture2D" uid="uid://dwky8qc2y602k" path="res://assets/sprites/actors/player.png" id="2_7wscr"] + +[node name="SpellMenuEntry" type="HBoxContainer"] +offset_right = 8.0 +offset_bottom = 8.0 +size_flags_horizontal = 3 +script = ExtResource("1_kcgob") + +[node name="Icon" type="TextureRect" parent="."] +layout_mode = 2 +texture = ExtResource("2_7wscr") +expand_mode = 3 + +[node name="Shortcut" type="Label" parent="."] +layout_mode = 2 +text = "Atalho" + +[node name="VSeparator" type="VSeparator" parent="."] +layout_mode = 2 + +[node name="SpellName" type="Label" parent="."] +layout_mode = 2 +size_flags_horizontal = 3 +text = "Nome" + +[node name="CastButton" type="Button" parent="."] +layout_mode = 2 +text = "Usar" diff --git a/scenes/GUI/spellbook_menu.tscn b/scenes/GUI/spellbook_menu.tscn new file mode 100644 index 0000000..5b11d97 --- /dev/null +++ b/scenes/GUI/spellbook_menu.tscn @@ -0,0 +1,36 @@ +[gd_scene load_steps=3 format=3 uid="uid://bdxnfkx6nq0gr"] + +[ext_resource type="Script" uid="uid://7y0q058tvq7y" path="res://scripts/GUI/SpellBookMenu.cs" id="1_27g5s"] + +[sub_resource type="LabelSettings" id="LabelSettings_mo078"] +font_size = 32 + +[node name="SpellbookMenu" type="CanvasLayer"] +layer = 2 +script = ExtResource("1_27g5s") + +[node name="CenterContainer" type="CenterContainer" parent="."] +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="PanelContainer" type="PanelContainer" parent="CenterContainer"] +layout_mode = 2 + +[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer/PanelContainer"] +layout_mode = 2 + +[node name="Title" type="Label" parent="CenterContainer/PanelContainer/VBoxContainer"] +layout_mode = 2 +text = "Feitiços" +label_settings = SubResource("LabelSettings_mo078") +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="HSeparator" type="HSeparator" parent="CenterContainer/PanelContainer/VBoxContainer"] +layout_mode = 2 + +[node name="Spells" type="VBoxContainer" parent="CenterContainer/PanelContainer/VBoxContainer"] +layout_mode = 2 |
