- add: new tiles and another ui tweaks (#11)

* - fix: audio crash

* - tweak: main menu

* connect gui

* some shaders here

* tiles
This commit is contained in:
rhailrake
2024-01-31 15:08:17 +00:00
committed by GitHub
parent 177d295346
commit 483ab4eb2c
66 changed files with 342 additions and 187 deletions

View File

@@ -1,45 +1,38 @@
<Control xmlns="https://spacestation14.io"
xmlns:pllax="clr-namespace:Content.Client.Parallax"
xmlns:clog="clr-namespace:Content.Client.Changelog">
<pllax:ParallaxControl />
<TextureRect Access="Public" TexturePath="/Textures/Ohio/ohfuck.png" VerticalExpand="True" HorizontalExpand="True" Name="Background" Stretch="KeepAspectCovered"/>
<LayoutContainer>
<BoxContainer Name="VBox"
Orientation="Vertical"
StyleIdentifier="mainMenuVBox">
<TextureRect Name="Logo"
Stretch="KeepCentered" />
<BoxContainer Orientation="Horizontal"
SeparationOverride="4">
<Label Text="{Loc 'main-menu-username-label'}" />
<LineEdit Name="UsernameBox"
Access="Public"
PlaceHolder="{Loc 'main-menu-username-text'}"
HorizontalExpand="True" />
<BoxContainer Name="VBox" Orientation="Vertical" StyleIdentifier="MainMenuBox" MinWidth="300" >
<Label Name="Title" Text="GREEN MIRACLE" Align="Center" />
<Control MinSize="0 4" />
<BoxContainer Orientation="Horizontal" SeparationOverride="4">
<LineEdit Name="UsernameBox" Access="Public" PlaceHolder="{Loc 'main-menu-username-text'}" HorizontalExpand="True" />
</BoxContainer>
<LineEdit Name="AddressBox"
Access="Public"
Text="localhost"
PlaceHolder="server address:port"
HorizontalExpand="True" />
<Button Name="DirectConnectButton"
Access="Public"
Text="{Loc 'main-menu-direct-connect-button'}"
TextAlign="Center"
StyleIdentifier="mainMenu" />
<Control MinSize="0 2" />
<Button Name="OptionsButton"
Access="Public"
Text="{Loc 'main-menu-options-button'}"
TextAlign="Center"
StyleIdentifier="mainMenu" />
<Button Name="QuitButton"
Access="Public"
Text="{Loc 'main-menu-quit-button'}"
TextAlign="Center"
StyleIdentifier="mainMenu" />
<clog:ChangelogButton
Name="ChangelogButton"
Access="Public"/>
<LineEdit Name="AddressBox" Access="Public" Text="localhost" PlaceHolder="server address:port" HorizontalExpand="True" />
<Control MinSize="0 2" />
<Button Name="DirectConnectButton" Access="Public" Text="{Loc 'main-menu-direct-connect-button'}" TextAlign="Center" />
<Button Name="OptionsButton" Access="Public" Text="{Loc 'main-menu-options-button'}" TextAlign="Center" />
<clog:ChangelogButton Name="ChangelogButton" Access="Public" />
<Button Name="QuitButton" Access="Public" Text="{Loc 'main-menu-quit-button'}" TextAlign="Center" />
</BoxContainer>
</LayoutContainer>
</Control>