commit 17249e022b4a3a74c33350a0b92fd7398394368f Author: Playmaker1210 Date: Sat Aug 13 21:13:58 2022 +0200 Player rects diff --git a/.vs/Pong/DesignTimeBuild/.dtbcache.v2 b/.vs/Pong/DesignTimeBuild/.dtbcache.v2 new file mode 100644 index 0000000..ca39ced Binary files /dev/null and b/.vs/Pong/DesignTimeBuild/.dtbcache.v2 differ diff --git a/.vs/Pong/FileContentIndex/560caa5c-e1b4-4e74-98f8-5be430cb36e0.vsidx b/.vs/Pong/FileContentIndex/560caa5c-e1b4-4e74-98f8-5be430cb36e0.vsidx new file mode 100644 index 0000000..347d5b1 Binary files /dev/null and b/.vs/Pong/FileContentIndex/560caa5c-e1b4-4e74-98f8-5be430cb36e0.vsidx differ diff --git a/.vs/Pong/FileContentIndex/7f7c00a6-b8cc-4db1-8295-06fa43b6a8fb.vsidx b/.vs/Pong/FileContentIndex/7f7c00a6-b8cc-4db1-8295-06fa43b6a8fb.vsidx new file mode 100644 index 0000000..50869bd Binary files /dev/null and b/.vs/Pong/FileContentIndex/7f7c00a6-b8cc-4db1-8295-06fa43b6a8fb.vsidx differ diff --git a/.vs/Pong/FileContentIndex/d74c57b2-6aa8-4c3f-b147-912fd2644560.vsidx b/.vs/Pong/FileContentIndex/d74c57b2-6aa8-4c3f-b147-912fd2644560.vsidx new file mode 100644 index 0000000..50bb7fa Binary files /dev/null and b/.vs/Pong/FileContentIndex/d74c57b2-6aa8-4c3f-b147-912fd2644560.vsidx differ diff --git a/.vs/Pong/FileContentIndex/fcc1d421-2701-4d84-aa56-b48d0ea36427.vsidx b/.vs/Pong/FileContentIndex/fcc1d421-2701-4d84-aa56-b48d0ea36427.vsidx new file mode 100644 index 0000000..d87ff83 Binary files /dev/null and b/.vs/Pong/FileContentIndex/fcc1d421-2701-4d84-aa56-b48d0ea36427.vsidx differ diff --git a/.vs/Pong/FileContentIndex/read.lock b/.vs/Pong/FileContentIndex/read.lock new file mode 100644 index 0000000..e69de29 diff --git a/.vs/Pong/v17/.futdcache.v2 b/.vs/Pong/v17/.futdcache.v2 new file mode 100644 index 0000000..959db52 Binary files /dev/null and b/.vs/Pong/v17/.futdcache.v2 differ diff --git a/.vs/Pong/v17/.suo b/.vs/Pong/v17/.suo new file mode 100644 index 0000000..5ab4caf Binary files /dev/null and b/.vs/Pong/v17/.suo differ diff --git a/.vs/ProjectEvaluation/pong.metadata.v5 b/.vs/ProjectEvaluation/pong.metadata.v5 new file mode 100644 index 0000000..a8fde08 Binary files /dev/null and b/.vs/ProjectEvaluation/pong.metadata.v5 differ diff --git a/.vs/ProjectEvaluation/pong.projects.v5 b/.vs/ProjectEvaluation/pong.projects.v5 new file mode 100644 index 0000000..aa73d3f Binary files /dev/null and b/.vs/ProjectEvaluation/pong.projects.v5 differ diff --git a/Pong.sln b/Pong.sln new file mode 100644 index 0000000..6ba5e8e --- /dev/null +++ b/Pong.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.3.32804.467 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Pong", "Pong\Pong.csproj", "{E221C1BF-3A65-4230-A49E-5009BB31FDE5}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E221C1BF-3A65-4230-A49E-5009BB31FDE5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E221C1BF-3A65-4230-A49E-5009BB31FDE5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E221C1BF-3A65-4230-A49E-5009BB31FDE5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E221C1BF-3A65-4230-A49E-5009BB31FDE5}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {7FB2AB29-7021-4C90-8732-55E3C9DB8E9B} + EndGlobalSection +EndGlobal diff --git a/Pong/.config/dotnet-tools.json b/Pong/.config/dotnet-tools.json new file mode 100644 index 0000000..efabe22 --- /dev/null +++ b/Pong/.config/dotnet-tools.json @@ -0,0 +1,36 @@ +{ + "version": 1, + "isRoot": true, + "tools": { + "dotnet-mgcb": { + "version": "3.8.1.303", + "commands": [ + "mgcb" + ] + }, + "dotnet-mgcb-editor": { + "version": "3.8.1.303", + "commands": [ + "mgcb-editor" + ] + }, + "dotnet-mgcb-editor-linux": { + "version": "3.8.1.303", + "commands": [ + "mgcb-editor-linux" + ] + }, + "dotnet-mgcb-editor-windows": { + "version": "3.8.1.303", + "commands": [ + "mgcb-editor-windows" + ] + }, + "dotnet-mgcb-editor-mac": { + "version": "3.8.1.303", + "commands": [ + "mgcb-editor-mac" + ] + } + } +} \ No newline at end of file diff --git a/Pong/Content/Content.mgcb b/Pong/Content/Content.mgcb new file mode 100644 index 0000000..cb46df6 --- /dev/null +++ b/Pong/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 Textures/ball.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:Textures/ball.png + diff --git a/Pong/Content/Textures/ball.png b/Pong/Content/Textures/ball.png new file mode 100644 index 0000000..474d9b0 Binary files /dev/null and b/Pong/Content/Textures/ball.png differ diff --git a/Pong/Content/bin/DesktopGL/Content/Textures/ball.xnb b/Pong/Content/bin/DesktopGL/Content/Textures/ball.xnb new file mode 100644 index 0000000..2f7b756 Binary files /dev/null and b/Pong/Content/bin/DesktopGL/Content/Textures/ball.xnb differ diff --git a/Pong/Content/obj/DesktopGL/net6.0/Content/.mgcontent b/Pong/Content/obj/DesktopGL/net6.0/Content/.mgcontent new file mode 100644 index 0000000..5d388f7 --- /dev/null +++ b/Pong/Content/obj/DesktopGL/net6.0/Content/.mgcontent @@ -0,0 +1 @@ +ReachDesktopGLC:/dev/Pong/Pong/Content/Textures/ball.png \ No newline at end of file diff --git a/Pong/Content/obj/DesktopGL/net6.0/Content/.mgstats b/Pong/Content/obj/DesktopGL/net6.0/Content/.mgstats new file mode 100644 index 0000000..eab26b3 --- /dev/null +++ b/Pong/Content/obj/DesktopGL/net6.0/Content/.mgstats @@ -0,0 +1 @@ +Source File,Dest File,Processor Type,Content Type,Source File Size,Dest File Size,Build Seconds diff --git a/Pong/Content/obj/DesktopGL/net6.0/Content/Textures/ball.mgcontent b/Pong/Content/obj/DesktopGL/net6.0/Content/Textures/ball.mgcontent new file mode 100644 index 0000000..5b53e0d --- /dev/null +++ b/Pong/Content/obj/DesktopGL/net6.0/Content/Textures/ball.mgcontent @@ -0,0 +1 @@ +C:/dev/Pong/Pong/Content/Textures/ball.png2022-08-13T20:35:13.6414651+02:00C:/dev/Pong/Pong/Content/bin/DesktopGL/Content/Textures/ball.xnb2022-08-13T20:35:20.5594552+02:00TextureImporter2022-07-26T13:44:56+02:00TextureProcessor2022-07-26T13:44:56+02:00ColorKeyColor255,0,255,255ColorKeyEnabledTrueGenerateMipmapsFalsePremultiplyAlphaTrueResizeToPowerOfTwoFalseMakeSquareFalseTextureFormatColor \ No newline at end of file diff --git a/Pong/Game1.cs b/Pong/Game1.cs new file mode 100644 index 0000000..be51fa6 --- /dev/null +++ b/Pong/Game1.cs @@ -0,0 +1,119 @@ +using Microsoft.Xna.Framework; +using Microsoft.Xna.Framework.Graphics; +using Microsoft.Xna.Framework.Input; +using System; + +//open content editor with mgcb-editor-windows + +namespace Pong { + public class Game1 : Game { + private GraphicsDeviceManager _graphics; + private SpriteBatch _spriteBatch; + private Random random; + + public Texture2D ballTexture; + public Texture2D playerOneTexture; + public Texture2D playerTwoTexture; + public Rectangle playerOne; + public Rectangle playerTwo; + + Vector2 ballPosition; + Vector2 playerOnePosition; + Vector2 playerTwoPosition; + Vector2 ballDir; + + float ballSpeed; + + public Game1() { + _graphics = new GraphicsDeviceManager(this); + Content.RootDirectory = "Content"; + IsMouseVisible = true; + Window.AllowUserResizing = true; + } + + protected override void Initialize() { + // TODO: Add your initialization logic here + Window.Title = "Pong"; + _graphics.PreferredBackBufferHeight = 720; + _graphics.PreferredBackBufferWidth = 1280; + _graphics.ApplyChanges(); + + random = new Random(); + + playerOneTexture = new Texture2D(_graphics.GraphicsDevice, 20, 125); + playerTwoTexture = new Texture2D(_graphics.GraphicsDevice, 20, 125); + + Color[] data = new Color[playerOneTexture.Width*playerOneTexture.Height]; + for (int i = 0; i < data.Length; ++i) data[i] = Color.White; + playerOneTexture.SetData(data); + playerTwoTexture.SetData(data); + + ballPosition = new Vector2(_graphics.PreferredBackBufferWidth / 2, _graphics.PreferredBackBufferHeight / 2); + ballDir = new Vector2(random.Next(-7, 7), random.Next(-7, 7)); + ballSpeed = 100.0f; + + playerOnePosition = new Vector2(25, _graphics.PreferredBackBufferHeight / 2 - playerOneTexture.Height / 2); + playerTwoPosition = new Vector2(_graphics.PreferredBackBufferWidth - 50, _graphics.PreferredBackBufferHeight / 2 - playerTwoTexture.Height / 2); + + base.Initialize(); + } + + protected override void LoadContent() { + _spriteBatch = new SpriteBatch(GraphicsDevice); + + // TODO: use this.Content to load your game content here + ballTexture = Content.Load("Textures/ball"); + } + + protected override void Update(GameTime gameTime) { + if (GamePad.GetState(PlayerIndex.One).Buttons.Back == ButtonState.Pressed || Keyboard.GetState().IsKeyDown(Keys.Escape)) + Exit(); + + /*KeyboardState kState = Keyboard.GetState(); + + if (kState.IsKeyDown(Keys.Up)) { + ballPosition.Y -= ballSpeed * (float)gameTime.ElapsedGameTime.TotalSeconds; + } + if (kState.IsKeyDown(Keys.Down)) { + ballPosition.Y += ballSpeed * (float)gameTime.ElapsedGameTime.TotalSeconds; + } + if (kState.IsKeyDown(Keys.Left)) { + ballPosition.X -= ballSpeed * (float)gameTime.ElapsedGameTime.TotalSeconds; + } + if (kState.IsKeyDown(Keys.Right)) { + ballPosition.X += ballSpeed * (float)gameTime.ElapsedGameTime.TotalSeconds; + }*/ + + ballPosition.X += ballDir.X * ballSpeed * (float)gameTime.ElapsedGameTime.TotalSeconds; + ballPosition.Y += ballDir.Y * ballSpeed * (float)gameTime.ElapsedGameTime.TotalSeconds; + + //Bouncing + if (ballPosition.X > _graphics.PreferredBackBufferWidth - ballTexture.Width / 2) { + ballDir.X = -ballDir.X; //_graphics.PreferredBackBufferWidth - ballTexture.Width / 2; + } else if (ballPosition.X < ballTexture.Width / 2) { + ballDir.X = -ballDir.X; //ballPosition.X = ballTexture.Width / 2; + } + + if (ballPosition.Y > _graphics.PreferredBackBufferHeight - ballTexture.Height / 2) { + ballDir.Y = -ballDir.Y; //ballPosition.Y = _graphics.PreferredBackBufferHeight - ballTexture.Height / 2; + } else if (ballPosition.Y < ballTexture.Height / 2) { + ballDir.Y = -ballDir.Y; //ballPosition.Y = ballTexture.Height / 2; + } + + base.Update(gameTime); + } + + protected override void Draw(GameTime gameTime) { + GraphicsDevice.Clear(Color.Black); + + // TODO: Add your drawing code here + _spriteBatch.Begin(); + _spriteBatch.Draw(ballTexture, ballPosition, null, Color.White, 0f, new Vector2(ballTexture.Width / 2, ballTexture.Height / 2), Vector2.One, SpriteEffects.None, 0f); + _spriteBatch.Draw(playerOneTexture, new Rectangle((int)playerOnePosition.X, (int)playerOnePosition.Y, playerOneTexture.Width, playerOneTexture.Height), Color.White); + _spriteBatch.Draw(playerTwoTexture, new Rectangle((int)playerTwoPosition.X, (int)playerTwoPosition.Y, playerTwoTexture.Width, playerTwoTexture.Height), Color.White); + _spriteBatch.End(); + + base.Draw(gameTime); + } + } +} \ No newline at end of file diff --git a/Pong/Icon.bmp b/Pong/Icon.bmp new file mode 100644 index 0000000..2b48165 Binary files /dev/null and b/Pong/Icon.bmp differ diff --git a/Pong/Icon.ico b/Pong/Icon.ico new file mode 100644 index 0000000..7d9dec1 Binary files /dev/null and b/Pong/Icon.ico differ diff --git a/Pong/Pong.csproj b/Pong/Pong.csproj new file mode 100644 index 0000000..a7fb71d --- /dev/null +++ b/Pong/Pong.csproj @@ -0,0 +1,29 @@ + + + WinExe + net6.0 + Major + false + false + + + app.manifest + Icon.ico + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Pong/Program.cs b/Pong/Program.cs new file mode 100644 index 0000000..33ccf4f --- /dev/null +++ b/Pong/Program.cs @@ -0,0 +1,3 @@ + +using var game = new Pong.Game1(); +game.Run(); diff --git a/Pong/app.manifest b/Pong/app.manifest new file mode 100644 index 0000000..078c95c --- /dev/null +++ b/Pong/app.manifest @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true/pm + permonitorv2,permonitor + + + + diff --git a/Pong/bin/Debug/net6.0/Content/Textures/ball.xnb b/Pong/bin/Debug/net6.0/Content/Textures/ball.xnb new file mode 100644 index 0000000..2f7b756 Binary files /dev/null and b/Pong/bin/Debug/net6.0/Content/Textures/ball.xnb differ diff --git a/Pong/bin/Debug/net6.0/MonoGame.Framework.dll b/Pong/bin/Debug/net6.0/MonoGame.Framework.dll new file mode 100644 index 0000000..1f77444 Binary files /dev/null and b/Pong/bin/Debug/net6.0/MonoGame.Framework.dll differ diff --git a/Pong/bin/Debug/net6.0/Pong.deps.json b/Pong/bin/Debug/net6.0/Pong.deps.json new file mode 100644 index 0000000..faa287b --- /dev/null +++ b/Pong/bin/Debug/net6.0/Pong.deps.json @@ -0,0 +1,92 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v6.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v6.0": { + "Pong/1.0.0": { + "dependencies": { + "MonoGame.Content.Builder.Task": "3.8.1.303", + "MonoGame.Framework.DesktopGL": "3.8.1.303" + }, + "runtime": { + "Pong.dll": {} + } + }, + "MonoGame.Content.Builder.Task/3.8.1.303": {}, + "MonoGame.Framework.DesktopGL/3.8.1.303": { + "runtime": { + "lib/net6.0/MonoGame.Framework.dll": { + "assemblyVersion": "3.8.1.303", + "fileVersion": "3.8.1.303" + } + }, + "runtimeTargets": { + "runtimes/linux-x64/native/libSDL2-2.0.so.0": { + "rid": "linux-x64", + "assetType": "native", + "fileVersion": "0.0.0.0" + }, + "runtimes/linux-x64/native/libopenal.so.1": { + "rid": "linux-x64", + "assetType": "native", + "fileVersion": "0.0.0.0" + }, + "runtimes/osx/native/libSDL2.dylib": { + "rid": "osx", + "assetType": "native", + "fileVersion": "0.0.0.0" + }, + "runtimes/osx/native/libopenal.1.dylib": { + "rid": "osx", + "assetType": "native", + "fileVersion": "0.0.0.0" + }, + "runtimes/win-x64/native/SDL2.dll": { + "rid": "win-x64", + "assetType": "native", + "fileVersion": "2.0.20.0" + }, + "runtimes/win-x64/native/soft_oal.dll": { + "rid": "win-x64", + "assetType": "native", + "fileVersion": "0.0.0.0" + }, + "runtimes/win-x86/native/SDL2.dll": { + "rid": "win-x86", + "assetType": "native", + "fileVersion": "2.0.20.0" + }, + "runtimes/win-x86/native/soft_oal.dll": { + "rid": "win-x86", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + } + } + }, + "libraries": { + "Pong/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "MonoGame.Content.Builder.Task/3.8.1.303": { + "type": "package", + "serviceable": true, + "sha512": "sha512-9Ilzzje62LhWElbPNEl7vh7XsRSbze+lvCJdZtTZUGu48FRgvYN6THURwIB9PN98EI33/Wnf6iuShNUtD7hL4Q==", + "path": "monogame.content.builder.task/3.8.1.303", + "hashPath": "monogame.content.builder.task.3.8.1.303.nupkg.sha512" + }, + "MonoGame.Framework.DesktopGL/3.8.1.303": { + "type": "package", + "serviceable": true, + "sha512": "sha512-eGYhqn0n1olk8MNYeE9EuBmoNNECN1T18rPMaQpkzsEQ0H3nVyFPXC+uCo78v5pi5juQpJ3PSFnSkjzZJ1U58A==", + "path": "monogame.framework.desktopgl/3.8.1.303", + "hashPath": "monogame.framework.desktopgl.3.8.1.303.nupkg.sha512" + } + } +} \ No newline at end of file diff --git a/Pong/bin/Debug/net6.0/Pong.dll b/Pong/bin/Debug/net6.0/Pong.dll new file mode 100644 index 0000000..0af8372 Binary files /dev/null and b/Pong/bin/Debug/net6.0/Pong.dll differ diff --git a/Pong/bin/Debug/net6.0/Pong.exe b/Pong/bin/Debug/net6.0/Pong.exe new file mode 100644 index 0000000..2d67d90 Binary files /dev/null and b/Pong/bin/Debug/net6.0/Pong.exe differ diff --git a/Pong/bin/Debug/net6.0/Pong.pdb b/Pong/bin/Debug/net6.0/Pong.pdb new file mode 100644 index 0000000..bce9161 Binary files /dev/null and b/Pong/bin/Debug/net6.0/Pong.pdb differ diff --git a/Pong/bin/Debug/net6.0/Pong.runtimeconfig.json b/Pong/bin/Debug/net6.0/Pong.runtimeconfig.json new file mode 100644 index 0000000..1ba0ba8 --- /dev/null +++ b/Pong/bin/Debug/net6.0/Pong.runtimeconfig.json @@ -0,0 +1,13 @@ +{ + "runtimeOptions": { + "tfm": "net6.0", + "rollForward": "Major", + "framework": { + "name": "Microsoft.NETCore.App", + "version": "6.0.0" + }, + "configProperties": { + "System.Runtime.TieredCompilation": false + } + } +} \ No newline at end of file diff --git a/Pong/bin/Debug/net6.0/runtimes/linux-x64/native/libSDL2-2.0.so.0 b/Pong/bin/Debug/net6.0/runtimes/linux-x64/native/libSDL2-2.0.so.0 new file mode 100644 index 0000000..986e2fa Binary files /dev/null and b/Pong/bin/Debug/net6.0/runtimes/linux-x64/native/libSDL2-2.0.so.0 differ diff --git a/Pong/bin/Debug/net6.0/runtimes/linux-x64/native/libopenal.so.1 b/Pong/bin/Debug/net6.0/runtimes/linux-x64/native/libopenal.so.1 new file mode 100644 index 0000000..af45fd0 Binary files /dev/null and b/Pong/bin/Debug/net6.0/runtimes/linux-x64/native/libopenal.so.1 differ diff --git a/Pong/bin/Debug/net6.0/runtimes/osx/native/libSDL2.dylib b/Pong/bin/Debug/net6.0/runtimes/osx/native/libSDL2.dylib new file mode 100644 index 0000000..416608b Binary files /dev/null and b/Pong/bin/Debug/net6.0/runtimes/osx/native/libSDL2.dylib differ diff --git a/Pong/bin/Debug/net6.0/runtimes/osx/native/libopenal.1.dylib b/Pong/bin/Debug/net6.0/runtimes/osx/native/libopenal.1.dylib new file mode 100644 index 0000000..a0711fe Binary files /dev/null and b/Pong/bin/Debug/net6.0/runtimes/osx/native/libopenal.1.dylib differ diff --git a/Pong/bin/Debug/net6.0/runtimes/win-x64/native/SDL2.dll b/Pong/bin/Debug/net6.0/runtimes/win-x64/native/SDL2.dll new file mode 100644 index 0000000..50cc664 Binary files /dev/null and b/Pong/bin/Debug/net6.0/runtimes/win-x64/native/SDL2.dll differ diff --git a/Pong/bin/Debug/net6.0/runtimes/win-x64/native/soft_oal.dll b/Pong/bin/Debug/net6.0/runtimes/win-x64/native/soft_oal.dll new file mode 100644 index 0000000..02027ee Binary files /dev/null and b/Pong/bin/Debug/net6.0/runtimes/win-x64/native/soft_oal.dll differ diff --git a/Pong/bin/Debug/net6.0/runtimes/win-x86/native/SDL2.dll b/Pong/bin/Debug/net6.0/runtimes/win-x86/native/SDL2.dll new file mode 100644 index 0000000..eb8de66 Binary files /dev/null and b/Pong/bin/Debug/net6.0/runtimes/win-x86/native/SDL2.dll differ diff --git a/Pong/bin/Debug/net6.0/runtimes/win-x86/native/soft_oal.dll b/Pong/bin/Debug/net6.0/runtimes/win-x86/native/soft_oal.dll new file mode 100644 index 0000000..5dbbbe8 Binary files /dev/null and b/Pong/bin/Debug/net6.0/runtimes/win-x86/native/soft_oal.dll differ diff --git a/Pong/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs b/Pong/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs new file mode 100644 index 0000000..36203c7 --- /dev/null +++ b/Pong/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = "")] diff --git a/Pong/obj/Debug/net6.0/Pong.AssemblyInfo.cs b/Pong/obj/Debug/net6.0/Pong.AssemblyInfo.cs new file mode 100644 index 0000000..b304af2 --- /dev/null +++ b/Pong/obj/Debug/net6.0/Pong.AssemblyInfo.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("Pong")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("Pong")] +[assembly: System.Reflection.AssemblyTitleAttribute("Pong")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Generated by the MSBuild WriteCodeFragment class. + diff --git a/Pong/obj/Debug/net6.0/Pong.AssemblyInfoInputs.cache b/Pong/obj/Debug/net6.0/Pong.AssemblyInfoInputs.cache new file mode 100644 index 0000000..0c23746 --- /dev/null +++ b/Pong/obj/Debug/net6.0/Pong.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +d5febc48f78df6b12243e20a0c6eafb0c5c0bfd8 diff --git a/Pong/obj/Debug/net6.0/Pong.GeneratedMSBuildEditorConfig.editorconfig b/Pong/obj/Debug/net6.0/Pong.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..4547917 --- /dev/null +++ b/Pong/obj/Debug/net6.0/Pong.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,10 @@ +is_global = true +build_property.TargetFramework = net6.0 +build_property.TargetPlatformMinVersion = +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = Pong +build_property.ProjectDir = C:\dev\Pong\Pong\ diff --git a/Pong/obj/Debug/net6.0/Pong.assets.cache b/Pong/obj/Debug/net6.0/Pong.assets.cache new file mode 100644 index 0000000..153f9c0 Binary files /dev/null and b/Pong/obj/Debug/net6.0/Pong.assets.cache differ diff --git a/Pong/obj/Debug/net6.0/Pong.csproj.AssemblyReference.cache b/Pong/obj/Debug/net6.0/Pong.csproj.AssemblyReference.cache new file mode 100644 index 0000000..32977b4 Binary files /dev/null and b/Pong/obj/Debug/net6.0/Pong.csproj.AssemblyReference.cache differ diff --git a/Pong/obj/Debug/net6.0/Pong.csproj.BuildWithSkipAnalyzers b/Pong/obj/Debug/net6.0/Pong.csproj.BuildWithSkipAnalyzers new file mode 100644 index 0000000..e69de29 diff --git a/Pong/obj/Debug/net6.0/Pong.csproj.CopyComplete b/Pong/obj/Debug/net6.0/Pong.csproj.CopyComplete new file mode 100644 index 0000000..e69de29 diff --git a/Pong/obj/Debug/net6.0/Pong.csproj.CoreCompileInputs.cache b/Pong/obj/Debug/net6.0/Pong.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..96beedd --- /dev/null +++ b/Pong/obj/Debug/net6.0/Pong.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +fb351e05fb47f0e2e25957b5948e4f2828a054aa diff --git a/Pong/obj/Debug/net6.0/Pong.csproj.FileListAbsolute.txt b/Pong/obj/Debug/net6.0/Pong.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..f352c52 --- /dev/null +++ b/Pong/obj/Debug/net6.0/Pong.csproj.FileListAbsolute.txt @@ -0,0 +1,26 @@ +C:\dev\Pong\Pong\bin\Debug\net6.0\Content\Textures\ball.xnb +C:\dev\Pong\Pong\bin\Debug\net6.0\Pong.exe +C:\dev\Pong\Pong\bin\Debug\net6.0\Pong.deps.json +C:\dev\Pong\Pong\bin\Debug\net6.0\Pong.runtimeconfig.json +C:\dev\Pong\Pong\bin\Debug\net6.0\Pong.dll +C:\dev\Pong\Pong\bin\Debug\net6.0\Pong.pdb +C:\dev\Pong\Pong\bin\Debug\net6.0\MonoGame.Framework.dll +C:\dev\Pong\Pong\bin\Debug\net6.0\runtimes\linux-x64\native\libSDL2-2.0.so.0 +C:\dev\Pong\Pong\bin\Debug\net6.0\runtimes\linux-x64\native\libopenal.so.1 +C:\dev\Pong\Pong\bin\Debug\net6.0\runtimes\osx\native\libSDL2.dylib +C:\dev\Pong\Pong\bin\Debug\net6.0\runtimes\osx\native\libopenal.1.dylib +C:\dev\Pong\Pong\bin\Debug\net6.0\runtimes\win-x64\native\SDL2.dll +C:\dev\Pong\Pong\bin\Debug\net6.0\runtimes\win-x64\native\soft_oal.dll +C:\dev\Pong\Pong\bin\Debug\net6.0\runtimes\win-x86\native\SDL2.dll +C:\dev\Pong\Pong\bin\Debug\net6.0\runtimes\win-x86\native\soft_oal.dll +C:\dev\Pong\Pong\obj\Debug\net6.0\Pong.csproj.AssemblyReference.cache +C:\dev\Pong\Pong\obj\Debug\net6.0\Pong.GeneratedMSBuildEditorConfig.editorconfig +C:\dev\Pong\Pong\obj\Debug\net6.0\Pong.AssemblyInfoInputs.cache +C:\dev\Pong\Pong\obj\Debug\net6.0\Pong.AssemblyInfo.cs +C:\dev\Pong\Pong\obj\Debug\net6.0\Pong.csproj.CoreCompileInputs.cache +C:\dev\Pong\Pong\obj\Debug\net6.0\Pong.csproj.CopyComplete +C:\dev\Pong\Pong\obj\Debug\net6.0\Pong.dll +C:\dev\Pong\Pong\obj\Debug\net6.0\refint\Pong.dll +C:\dev\Pong\Pong\obj\Debug\net6.0\Pong.pdb +C:\dev\Pong\Pong\obj\Debug\net6.0\Pong.genruntimeconfig.cache +C:\dev\Pong\Pong\obj\Debug\net6.0\ref\Pong.dll diff --git a/Pong/obj/Debug/net6.0/Pong.dll b/Pong/obj/Debug/net6.0/Pong.dll new file mode 100644 index 0000000..0af8372 Binary files /dev/null and b/Pong/obj/Debug/net6.0/Pong.dll differ diff --git a/Pong/obj/Debug/net6.0/Pong.genruntimeconfig.cache b/Pong/obj/Debug/net6.0/Pong.genruntimeconfig.cache new file mode 100644 index 0000000..4389980 --- /dev/null +++ b/Pong/obj/Debug/net6.0/Pong.genruntimeconfig.cache @@ -0,0 +1 @@ +b0ab9d5901f6246bee6f471a46271a82dc0064d4 diff --git a/Pong/obj/Debug/net6.0/Pong.pdb b/Pong/obj/Debug/net6.0/Pong.pdb new file mode 100644 index 0000000..bce9161 Binary files /dev/null and b/Pong/obj/Debug/net6.0/Pong.pdb differ diff --git a/Pong/obj/Debug/net6.0/apphost.exe b/Pong/obj/Debug/net6.0/apphost.exe new file mode 100644 index 0000000..2d67d90 Binary files /dev/null and b/Pong/obj/Debug/net6.0/apphost.exe differ diff --git a/Pong/obj/Debug/net6.0/ref/Pong.dll b/Pong/obj/Debug/net6.0/ref/Pong.dll new file mode 100644 index 0000000..68da43b Binary files /dev/null and b/Pong/obj/Debug/net6.0/ref/Pong.dll differ diff --git a/Pong/obj/Debug/net6.0/refint/Pong.dll b/Pong/obj/Debug/net6.0/refint/Pong.dll new file mode 100644 index 0000000..68da43b Binary files /dev/null and b/Pong/obj/Debug/net6.0/refint/Pong.dll differ diff --git a/Pong/obj/Pong.csproj.nuget.dgspec.json b/Pong/obj/Pong.csproj.nuget.dgspec.json new file mode 100644 index 0000000..cf5aad9 --- /dev/null +++ b/Pong/obj/Pong.csproj.nuget.dgspec.json @@ -0,0 +1,77 @@ +{ + "format": 1, + "restore": { + "C:\\dev\\Pong\\Pong\\Pong.csproj": {} + }, + "projects": { + "C:\\dev\\Pong\\Pong\\Pong.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\dev\\Pong\\Pong\\Pong.csproj", + "projectName": "Pong", + "projectPath": "C:\\dev\\Pong\\Pong\\Pong.csproj", + "packagesPath": "C:\\Users\\Tom\\.nuget\\packages\\", + "outputPath": "C:\\dev\\Pong\\Pong\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configFilePaths": [ + "C:\\Users\\Tom\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "dependencies": { + "MonoGame.Content.Builder.Task": { + "target": "Package", + "version": "[3.8.1.303, )" + }, + "MonoGame.Framework.DesktopGL": { + "target": "Package", + "version": "[3.8.1.303, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.400\\RuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/Pong/obj/Pong.csproj.nuget.g.props b/Pong/obj/Pong.csproj.nuget.g.props new file mode 100644 index 0000000..7498eda --- /dev/null +++ b/Pong/obj/Pong.csproj.nuget.g.props @@ -0,0 +1,19 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\.nuget\packages\ + C:\Users\Tom\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages + PackageReference + 6.3.0 + + + + + + + + + \ No newline at end of file diff --git a/Pong/obj/Pong.csproj.nuget.g.targets b/Pong/obj/Pong.csproj.nuget.g.targets new file mode 100644 index 0000000..7de22ed --- /dev/null +++ b/Pong/obj/Pong.csproj.nuget.g.targets @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/Pong/obj/project.assets.json b/Pong/obj/project.assets.json new file mode 100644 index 0000000..a117c50 --- /dev/null +++ b/Pong/obj/project.assets.json @@ -0,0 +1,177 @@ +{ + "version": 3, + "targets": { + "net6.0": { + "MonoGame.Content.Builder.Task/3.8.1.303": { + "type": "package", + "build": { + "build/MonoGame.Content.Builder.Task.props": {}, + "build/MonoGame.Content.Builder.Task.targets": {} + } + }, + "MonoGame.Framework.DesktopGL/3.8.1.303": { + "type": "package", + "compile": { + "lib/net6.0/MonoGame.Framework.dll": {} + }, + "runtime": { + "lib/net6.0/MonoGame.Framework.dll": {} + }, + "build": { + "build/MonoGame.Framework.DesktopGL.targets": {} + }, + "runtimeTargets": { + "runtimes/linux-x64/native/libSDL2-2.0.so.0": { + "assetType": "native", + "rid": "linux-x64" + }, + "runtimes/linux-x64/native/libopenal.so.1": { + "assetType": "native", + "rid": "linux-x64" + }, + "runtimes/osx/native/libSDL2.dylib": { + "assetType": "native", + "rid": "osx" + }, + "runtimes/osx/native/libopenal.1.dylib": { + "assetType": "native", + "rid": "osx" + }, + "runtimes/win-x64/native/SDL2.dll": { + "assetType": "native", + "rid": "win-x64" + }, + "runtimes/win-x64/native/soft_oal.dll": { + "assetType": "native", + "rid": "win-x64" + }, + "runtimes/win-x86/native/SDL2.dll": { + "assetType": "native", + "rid": "win-x86" + }, + "runtimes/win-x86/native/soft_oal.dll": { + "assetType": "native", + "rid": "win-x86" + } + } + } + } + }, + "libraries": { + "MonoGame.Content.Builder.Task/3.8.1.303": { + "sha512": "9Ilzzje62LhWElbPNEl7vh7XsRSbze+lvCJdZtTZUGu48FRgvYN6THURwIB9PN98EI33/Wnf6iuShNUtD7hL4Q==", + "type": "package", + "path": "monogame.content.builder.task/3.8.1.303", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "build/MonoGame.Content.Builder.Task.props", + "build/MonoGame.Content.Builder.Task.targets", + "monogame.content.builder.task.3.8.1.303.nupkg.sha512", + "monogame.content.builder.task.nuspec" + ] + }, + "MonoGame.Framework.DesktopGL/3.8.1.303": { + "sha512": "eGYhqn0n1olk8MNYeE9EuBmoNNECN1T18rPMaQpkzsEQ0H3nVyFPXC+uCo78v5pi5juQpJ3PSFnSkjzZJ1U58A==", + "type": "package", + "path": "monogame.framework.desktopgl/3.8.1.303", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "build/MonoGame.Framework.DesktopGL.targets", + "lib/net6.0/MonoGame.Framework.dll", + "monogame.framework.desktopgl.3.8.1.303.nupkg.sha512", + "monogame.framework.desktopgl.nuspec", + "runtimes/linux-x64/native/libSDL2-2.0.so.0", + "runtimes/linux-x64/native/libopenal.so.1", + "runtimes/osx/native/libSDL2.dylib", + "runtimes/osx/native/libopenal.1.dylib", + "runtimes/win-x64/native/SDL2.dll", + "runtimes/win-x64/native/soft_oal.dll", + "runtimes/win-x86/native/SDL2.dll", + "runtimes/win-x86/native/soft_oal.dll" + ] + } + }, + "projectFileDependencyGroups": { + "net6.0": [ + "MonoGame.Content.Builder.Task >= 3.8.1.303", + "MonoGame.Framework.DesktopGL >= 3.8.1.303" + ] + }, + "packageFolders": { + "C:\\Users\\Tom\\.nuget\\packages\\": {}, + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\dev\\Pong\\Pong\\Pong.csproj", + "projectName": "Pong", + "projectPath": "C:\\dev\\Pong\\Pong\\Pong.csproj", + "packagesPath": "C:\\Users\\Tom\\.nuget\\packages\\", + "outputPath": "C:\\dev\\Pong\\Pong\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configFilePaths": [ + "C:\\Users\\Tom\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "dependencies": { + "MonoGame.Content.Builder.Task": { + "target": "Package", + "version": "[3.8.1.303, )" + }, + "MonoGame.Framework.DesktopGL": { + "target": "Package", + "version": "[3.8.1.303, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.400\\RuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/Pong/obj/project.nuget.cache b/Pong/obj/project.nuget.cache new file mode 100644 index 0000000..0569529 --- /dev/null +++ b/Pong/obj/project.nuget.cache @@ -0,0 +1,11 @@ +{ + "version": 2, + "dgSpecHash": "igoW5/T5SL67vZTWmoWD/R8Lpa9HuYb01N08826iKN4mnyrL3AYTJ5YBtmvLJpt2T5ANgqrfjeNhAmo3TRtINw==", + "success": true, + "projectFilePath": "C:\\dev\\Pong\\Pong\\Pong.csproj", + "expectedPackageFiles": [ + "C:\\Users\\Tom\\.nuget\\packages\\monogame.content.builder.task\\3.8.1.303\\monogame.content.builder.task.3.8.1.303.nupkg.sha512", + "C:\\Users\\Tom\\.nuget\\packages\\monogame.framework.desktopgl\\3.8.1.303\\monogame.framework.desktopgl.3.8.1.303.nupkg.sha512" + ], + "logs": [] +} \ No newline at end of file