Skip to content

Commit

Permalink
修正開始畫面按鈕位置
Browse files Browse the repository at this point in the history
  • Loading branch information
luiges90 committed Mar 20, 2019
1 parent 2f3c255 commit a504ac7
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 25 deletions.
2 changes: 1 addition & 1 deletion Content/Data/TextureRecs.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Content\Textures\Resources\Start\Menu:png:New,Save,Setting,About,Exit:1800:136:300:68:2:Scene;
Content\Textures\Resources\Start\Menu:png:New,Save,Setting,About,Exit:1350:102:225:51:2:Scene;
Content\Textures\Resources\Start\ReadyButton:png:OK,Cancel,Load:810:50:135:50:2:Scene;
Content\Textures\Resources\Start\Line-Red:png:Line-Red:200:1:200:1:1:Scene;
Content\Textures\Resources\Start\CheckBox:png:CheckBox:132:32:33:32:4:Scene;
Expand Down
18 changes: 4 additions & 14 deletions WorldOfTheThreeKingdoms/GameScreens/MainMenuScreen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -123,16 +123,6 @@ public class MainMenuScreen

string[] texts = new string[]
{
"滚滚长江东逝水",
"浪花淘尽英雄",
"是非成败转头空",
"青山依旧在",
"几度夕阳红",
"白发渔樵江渚上",
"惯看秋月春风",
"一壶浊酒喜相逢",
"古今多少事",
"都付笑谈中"
};

string[] aboutLines = new string[]
Expand Down Expand Up @@ -195,7 +185,7 @@ public MainMenuScreen()
};
btList.Add(btOne);

btOne = new ButtonTexture(@"Content\Textures\Resources\Start\Menu", "Save", new Vector2(300, 580));
btOne = new ButtonTexture(@"Content\Textures\Resources\Start\Menu", "Save", new Vector2(310, 580));
btOne.OnButtonPress += (sender, e) =>
{
menuTypeElapsed = 0f;
Expand All @@ -205,7 +195,7 @@ public MainMenuScreen()
};
btList.Add(btOne);

btOne = new ButtonTexture(@"Content\Textures\Resources\Start\Menu", "Setting", new Vector2(500, 580));
btOne = new ButtonTexture(@"Content\Textures\Resources\Start\Menu", "Setting", new Vector2(520, 580));
btOne.OnButtonPress += (sender, e) =>
{
menuTypeElapsed = 0f;
Expand All @@ -215,7 +205,7 @@ public MainMenuScreen()
};
btList.Add(btOne);

btOne = new ButtonTexture(@"Content\Textures\Resources\Start\Menu", "About", new Vector2(700, 580));
btOne = new ButtonTexture(@"Content\Textures\Resources\Start\Menu", "About", new Vector2(730, 580));
btOne.OnButtonPress += (sender, e) =>
{
menuTypeElapsed = 0f;
Expand All @@ -224,7 +214,7 @@ public MainMenuScreen()
};
btList.Add(btOne);

btOne = new ButtonTexture(@"Content\Textures\Resources\Start\Menu", "Exit", new Vector2(900, 580));
btOne = new ButtonTexture(@"Content\Textures\Resources\Start\Menu", "Exit", new Vector2(940, 580));
btOne.OnButtonPress += (sender, e) =>
{
Platform.Current.Exit();
Expand Down
3 changes: 3 additions & 0 deletions WorldOfTheThreeKingdoms/WorldOfTheThreeKingdoms.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -1665,6 +1665,9 @@
<Reference Include="SixLabors.Shapes">
<HintPath>..\References\SixLabors.Shapes.dll</HintPath>
</Reference>
<Reference Include="SpriteFontPlus, Version=0.6.3.15, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\SpriteFontPlus.MonoGame.0.6.3.15\lib\net45\SpriteFontPlus.dll</HintPath>
</Reference>
<Reference Include="Steamworks.NET, Version=12.0.0.0, Culture=neutral, processorArchitecture=AMD64">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\References\Win\Steamworks.NET.dll</HintPath>
Expand Down
1 change: 1 addition & 0 deletions WorldOfTheThreeKingdoms/packages.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="MersenneTwister" version="1.0.5" targetFramework="net45" />
<package id="SpriteFontPlus.MonoGame" version="0.6.3.15" targetFramework="net45" />
<package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net45" />
</packages>
20 changes: 10 additions & 10 deletions WorldOfTheThreeKingdomsEditor/App.config
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Numerics.Vectors" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.1.4.0" newVersion="4.1.4.0"/>
<assemblyIdentity name="System.Numerics.Vectors" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.1.4.0" newVersion="4.1.4.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0"/>
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="SharpDX" publicKeyToken="b4dcf0f35e5521f1" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0"/>
<assemblyIdentity name="SharpDX" publicKeyToken="b4dcf0f35e5521f1" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="SharpDX.MediaFoundation" publicKeyToken="b4dcf0f35e5521f1" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0"/>
<assemblyIdentity name="SharpDX.MediaFoundation" publicKeyToken="b4dcf0f35e5521f1" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
Expand Down

0 comments on commit a504ac7

Please sign in to comment.