diff options
| author | Sophia Pearson <codergal89@gmail.com> | 2022-10-04 16:08:13 +0200 |
|---|---|---|
| committer | Sophia Pearson <codergal89@gmail.com> | 2022-10-04 22:18:24 +0200 |
| commit | 6248648eff7dda1088bb196ee4f3fce3b5fc260a (patch) | |
| tree | e7a00e5895b1f715d0547472a11476dbf9d71b3b /Scenes/Menus | |
| parent | b3bb378d0559d639d9914e33cdce2f6655617405 (diff) | |
| download | texty-6248648eff7dda1088bb196ee4f3fce3b5fc260a.tar.xz texty-6248648eff7dda1088bb196ee4f3fce3b5fc260a.zip | |
fonts: fix default font setup
Diffstat (limited to 'Scenes/Menus')
| -rw-r--r-- | Scenes/Menus/MainMenu.tscn | 11 | ||||
| -rw-r--r-- | Scenes/Menus/MainMenuButtons.tscn | 40 |
2 files changed, 30 insertions, 21 deletions
diff --git a/Scenes/Menus/MainMenu.tscn b/Scenes/Menus/MainMenu.tscn index d696e87..5cb37c1 100644 --- a/Scenes/Menus/MainMenu.tscn +++ b/Scenes/Menus/MainMenu.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=4 format=3 uid="uid://bf4ll56nce4ps"] [ext_resource type="PackedScene" path="res://Scenes/Terminal/MenuScreen.tscn" id="1"] -[ext_resource type="PackedScene" path="res://Scenes/Menus/MainMenuButtons.tscn" id="2"] +[ext_resource type="PackedScene" uid="uid://j5l33sidadvf" path="res://Scenes/Menus/MainMenuButtons.tscn" id="2"] [ext_resource type="Script" path="res://Scripts/Menus/MainMenu.cs" id="3"] [node name="MainMenu" type="Node"] @@ -15,39 +15,36 @@ grow_vertical = 2 Title = "TITLE_MAIN_MENU" [node name="ScreenContainer" parent="MenuScreen" index="0"] -layout_mode = 1 anchors_preset = 15 grow_horizontal = 2 grow_vertical = 2 [node name="TopBar" parent="MenuScreen/ScreenContainer" index="0"] -layout_mode = 2 offset_right = 1152.0 offset_bottom = 17.0 theme_type_variation = &"InvertedPanelContainer" [node name="TitleArea" parent="MenuScreen/ScreenContainer/TopBar" index="0"] -layout_mode = 2 offset_right = 1144.0 offset_bottom = 17.0 Title = "[center]TITLE_MAIN_MENU[/center]" [node name="Content" parent="MenuScreen/ScreenContainer" index="1"] -layout_mode = 2 offset_top = 21.0 offset_right = 1152.0 offset_bottom = 644.0 [node name="Buttons" parent="MenuScreen/ScreenContainer/Content" index="0" instance=ExtResource("2")] -layout_mode = 2 +anchors_preset = 0 anchor_right = 0.0 anchor_bottom = 0.0 offset_left = 8.0 offset_right = 1144.0 offset_bottom = 623.0 +grow_horizontal = 1 +grow_vertical = 1 [node name="BottomBar" parent="MenuScreen/ScreenContainer" index="2"] -layout_mode = 2 offset_top = 648.0 offset_right = 1152.0 offset_bottom = 648.0 diff --git a/Scenes/Menus/MainMenuButtons.tscn b/Scenes/Menus/MainMenuButtons.tscn index 6b8a6dc..9759861 100644 --- a/Scenes/Menus/MainMenuButtons.tscn +++ b/Scenes/Menus/MainMenuButtons.tscn @@ -1,25 +1,37 @@ -[gd_scene load_steps=3 format=2] +[gd_scene load_steps=3 format=3 uid="uid://j5l33sidadvf"] -[ext_resource path="res://Scenes/Terminal/ButtonBlock.tscn" type="PackedScene" id=1] -[ext_resource path="res://Scripts/Menus/MainMenuButtons.cs" type="Script" id=2] +[ext_resource type="PackedScene" path="res://Scenes/Terminal/ButtonBlock.tscn" id="1"] +[ext_resource type="Script" path="res://Scripts/Menus/MainMenuButtons.cs" id="2"] -[node name="MainMenuButtons" instance=ExtResource( 1 )] -script = ExtResource( 2 ) +[node name="MainMenuButtons" instance=ExtResource("1")] +anchors_preset = 15 +grow_horizontal = 2 +grow_vertical = 2 +script = ExtResource("2") + +[node name="Buttons" parent="." index="0"] +layout_mode = 2 +offset_left = 0.0 +offset_right = 1152.0 +offset_bottom = 648.0 [node name="StartButton" type="Button" parent="Buttons" index="0"] -offset_top = 262.0 -offset_right = 400.0 -offset_bottom = 287.0 +layout_mode = 2 +offset_top = 282.0 +offset_right = 1152.0 +offset_bottom = 307.0 text = "BUTTON_START_GAME" [node name="CreditsButton" type="Button" parent="Buttons" index="1"] -offset_top = 287.0 -offset_right = 400.0 -offset_bottom = 312.0 +layout_mode = 2 +offset_top = 311.0 +offset_right = 1152.0 +offset_bottom = 336.0 text = "BUTTON_CREDITS" [node name="QuitButton" type="Button" parent="Buttons" index="2"] -offset_top = 312.0 -offset_right = 400.0 -offset_bottom = 337.0 +layout_mode = 2 +offset_top = 340.0 +offset_right = 1152.0 +offset_bottom = 365.0 text = "BUTTON_QUIT_GAME" |
