diff options
Diffstat (limited to 'TankBattleCrossPlatform')
| -rw-r--r-- | TankBattleCrossPlatform/.config/dotnet-tools.json | 36 | ||||
| -rw-r--r-- | TankBattleCrossPlatform/.vscode/launch.json | 14 | ||||
| -rw-r--r-- | TankBattleCrossPlatform/Content/Content.mgcb | 27 | ||||
| -rw-r--r-- | TankBattleCrossPlatform/Icon.bmp | bin | 0 -> 262282 bytes | |||
| -rw-r--r-- | TankBattleCrossPlatform/Icon.ico | bin | 0 -> 147541 bytes | |||
| -rw-r--r-- | TankBattleCrossPlatform/Program.cs | 2 | ||||
| -rw-r--r-- | TankBattleCrossPlatform/TankBattleCrossPlatform.csproj | 32 | ||||
| -rw-r--r-- | TankBattleCrossPlatform/app.manifest | 43 |
8 files changed, 154 insertions, 0 deletions
diff --git a/TankBattleCrossPlatform/.config/dotnet-tools.json b/TankBattleCrossPlatform/.config/dotnet-tools.json new file mode 100644 index 0000000..a07174a --- /dev/null +++ b/TankBattleCrossPlatform/.config/dotnet-tools.json @@ -0,0 +1,36 @@ +{ + "version": 1, + "isRoot": true, + "tools": { + "dotnet-mgcb": { + "version": "3.8.4.1", + "commands": [ + "mgcb" + ] + }, + "dotnet-mgcb-editor": { + "version": "3.8.4.1", + "commands": [ + "mgcb-editor" + ] + }, + "dotnet-mgcb-editor-linux": { + "version": "3.8.4.1", + "commands": [ + "mgcb-editor-linux" + ] + }, + "dotnet-mgcb-editor-windows": { + "version": "3.8.4.1", + "commands": [ + "mgcb-editor-windows" + ] + }, + "dotnet-mgcb-editor-mac": { + "version": "3.8.4.1", + "commands": [ + "mgcb-editor-mac" + ] + } + } +}
\ No newline at end of file diff --git a/TankBattleCrossPlatform/.vscode/launch.json b/TankBattleCrossPlatform/.vscode/launch.json new file mode 100644 index 0000000..3b733a1 --- /dev/null +++ b/TankBattleCrossPlatform/.vscode/launch.json @@ -0,0 +1,14 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "C#: TankBattleCrossPlatform Debug", + "type": "dotnet", + "request": "launch", + "projectPath": "${workspaceFolder}/TankBattleCrossPlatform.csproj" + } + ], + }
\ No newline at end of file diff --git a/TankBattleCrossPlatform/Content/Content.mgcb b/TankBattleCrossPlatform/Content/Content.mgcb new file mode 100644 index 0000000..a88cb8b --- /dev/null +++ b/TankBattleCrossPlatform/Content/Content.mgcb @@ -0,0 +1,27 @@ + +#----------------------------- Global Properties ----------------------------# + +/outputDir:bin/$(Platform) +/intermediateDir:obj/$(Platform) +/platform:DesktopGL +/config: +/profile:Reach +/compress:False + +#-------------------------------- References --------------------------------# + + +#---------------------------------- Content ---------------------------------# + +#begin ../../Assets/Graphics/PNG/Tanks/tankBlack_outline.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:../../Assets/Graphics/PNG/Tanks/tankBlack_outline.png;tankBlack_outline.png + diff --git a/TankBattleCrossPlatform/Icon.bmp b/TankBattleCrossPlatform/Icon.bmp Binary files differnew file mode 100644 index 0000000..2b48165 --- /dev/null +++ b/TankBattleCrossPlatform/Icon.bmp diff --git a/TankBattleCrossPlatform/Icon.ico b/TankBattleCrossPlatform/Icon.ico Binary files differnew file mode 100644 index 0000000..7d9dec1 --- /dev/null +++ b/TankBattleCrossPlatform/Icon.ico diff --git a/TankBattleCrossPlatform/Program.cs b/TankBattleCrossPlatform/Program.cs new file mode 100644 index 0000000..2a8b867 --- /dev/null +++ b/TankBattleCrossPlatform/Program.cs @@ -0,0 +1,2 @@ +using var game = TankBattleCore.Game1.Instance; +game.Run(); diff --git a/TankBattleCrossPlatform/TankBattleCrossPlatform.csproj b/TankBattleCrossPlatform/TankBattleCrossPlatform.csproj new file mode 100644 index 0000000..58ee784 --- /dev/null +++ b/TankBattleCrossPlatform/TankBattleCrossPlatform.csproj @@ -0,0 +1,32 @@ +<Project Sdk="Microsoft.NET.Sdk"> + <PropertyGroup> + <OutputType>WinExe</OutputType> + <TargetFramework>net9.0</TargetFramework> + <RollForward>Major</RollForward> + <PublishReadyToRun>false</PublishReadyToRun> + <TieredCompilation>false</TieredCompilation> + </PropertyGroup> + <PropertyGroup> + <ApplicationManifest>app.manifest</ApplicationManifest> + <ApplicationIcon>Icon.ico</ApplicationIcon> + </PropertyGroup> + <ItemGroup> + <None Remove="Icon.ico" /> + <None Remove="Icon.bmp" /> + </ItemGroup> + <ItemGroup> + <EmbeddedResource Include="Icon.ico"> + <LogicalName>Icon.ico</LogicalName> + </EmbeddedResource> + <EmbeddedResource Include="Icon.bmp"> + <LogicalName>Icon.bmp</LogicalName> + </EmbeddedResource> + </ItemGroup> + <ItemGroup> + <PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.*" /> + <PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.*" /> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="..\TankBattleCore\TankBattleCore.csproj" /> + </ItemGroup> +</Project>
\ No newline at end of file diff --git a/TankBattleCrossPlatform/app.manifest b/TankBattleCrossPlatform/app.manifest new file mode 100644 index 0000000..c34b1fd --- /dev/null +++ b/TankBattleCrossPlatform/app.manifest @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="utf-8"?> +<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1"> + <assemblyIdentity version="1.0.0.0" name="TankBattleCrossPlatform"/> + <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2"> + <security> + <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3"> + <requestedExecutionLevel level="asInvoker" uiAccess="false" /> + </requestedPrivileges> + </security> + </trustInfo> + + <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"> + <application> + <!-- A list of the Windows versions that this application has been tested on and is + is designed to work with. Uncomment the appropriate elements and Windows will + automatically selected the most compatible environment. --> + + <!-- Windows Vista --> + <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" /> + + <!-- Windows 7 --> + <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" /> + + <!-- Windows 8 --> + <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" /> + + <!-- Windows 8.1 --> + <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" /> + + <!-- Windows 10 --> + <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" /> + + </application> + </compatibility> + + <application xmlns="urn:schemas-microsoft-com:asm.v3"> + <windowsSettings> + <dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true/pm</dpiAware> + <dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">permonitorv2,permonitor</dpiAwareness> + </windowsSettings> + </application> + +</assembly> |
