Added icon

This commit is contained in:
CreepyCrafter24 2019-09-29 11:48:15 +02:00
parent d5c822811b
commit b1badbd938
4 changed files with 30 additions and 22 deletions

View File

@ -83,32 +83,34 @@ namespace testexetrisathlon
intro.PlayLooping(); intro.PlayLooping();
SetCursorPosition(0, 1); SetCursorPosition(0, 1);
Write( Write(
" ▀▀▀██████▄▄▄\r\n" + " ▀▀▀██████▄▄▄\r\n" +
" ▀▀▀████▄\r\n" + " ▀▀▀████▄\r\n" +
" ▄███████▀ ▀███▄\r\n" + " ▄███████▀ ▀███▄\r\n" +
" ▄███████▀ ▀███▄\r\n" + " ▄███████▀ ▀███▄\r\n" +
" ▄████████ ███▄\r\n" + " ▄████████ ███▄\r\n" +
" ██████████▄ ███▌\r\n" + " ██████████▄ ███▌\r\n" +
" ▀█████▀ ▀███▄ ▐███\r\n" + " ▀█████▀ ▀███▄ ▐███\r\n" +
" ▀█▀ ▀███▄ ▐███\r\n" + " ▀█▀ ▀███▄ ▐███\r\n" +
" ▀███▄ ███▌\r\n" + " ▀███▄ ███▌\r\n" +
" ▄██▄ ▀███▄ ▐███\r\n" + " ▄██▄ ▀███▄ ▐███\r\n" +
" ▄██████▄ ▀███▄███\r\n" + " ▄██████▄ ▀███▄███\r\n" +
" █████▀▀████▄▄ ▄█████\r\n" + " █████▀▀████▄▄ ▄█████\r\n" +
" ████▀ ▀▀█████▄▄▄▄█████████▄\r\n" + " ████▀ ▀▀█████▄▄▄▄█████████▄\r\n" +
" ▀▀ ▀▀██████▀▀ ▀▀██\r\n\r\n" + " ▀▀ ▀▀██████▀▀ ▀▀██\r\n\r\n" +
"testexetrisathlon v." + assembly.GetName().Version.ToString()); " testexetrisathlon v." + assembly.GetName().Version.ToString());
SetCursorPosition(7, 18); SetCursorPosition(10, 18);
WriteLine("Controls: Space"); WriteLine("Controls: Space");
SetCursorPosition(8, 19); SetCursorPosition(11, 19);
WriteLine("Up, Down, Right"); WriteLine("Up, Down, Right");
SetCursorPosition(8, 20); SetCursorPosition(11, 20);
WriteLine("Left"); WriteLine("Left");
SetCursorPosition(7, 22); SetCursorPosition(10, 22);
WriteLine("Press s to start"); WriteLine("Press s to start");
SetCursorPosition(7, 23); SetCursorPosition(10, 23);
WriteLine("Press x to exit"); WriteLine("Press x to exit");
SetCursorPosition(0, 26);
WriteLine("Icon made by Freepik from www.flaticon.com");
string tmp = ReadKey(true).KeyChar.ToString().ToLower(); string tmp = ReadKey(true).KeyChar.ToString().ToLower();
switch (tmp) switch (tmp)
{ {

View File

@ -1,3 +1,3 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<configuration> <configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2"/></startup></configuration> <startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/></startup></configuration>

View File

@ -7,7 +7,7 @@
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
<RootNamespace>testexetrisathlon</RootNamespace> <RootNamespace>testexetrisathlon</RootNamespace>
<AssemblyName>testexetrisathlon</AssemblyName> <AssemblyName>testexetrisathlon</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion> <TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<TargetFrameworkProfile /> <TargetFrameworkProfile />
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
@ -65,6 +65,9 @@
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>true</Prefer32Bit> <Prefer32Bit>true</Prefer32Bit>
</PropertyGroup> </PropertyGroup>
<PropertyGroup>
<ApplicationIcon>tetris_yUxH6t_256px.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<Compile Include="Program.cs" /> <Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
@ -81,5 +84,8 @@
<ItemGroup> <ItemGroup>
<Reference Include="System" /> <Reference Include="System" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<Content Include="tetris_yUxH6t_256px.ico" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
</Project> </Project>

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB