From c868f03944ca13425fcb49320fbaadaefe1965bb Mon Sep 17 00:00:00 2001 From: Solargale Date: Sat, 18 Apr 2020 08:16:46 -0600 Subject: [PATCH] Initial commit --- .gitignore | 5 ++ .idea/.idea.Collector/.idea/.gitignore | 13 +++++ .idea/.idea.Collector/.idea/encodings.xml | 4 ++ .idea/.idea.Collector/.idea/indexLayout.xml | 8 ++++ .idea/.idea.Collector/.idea/misc.xml | 6 +++ .idea/.idea.Collector/.idea/vcs.xml | 6 +++ Collector.sln | 16 +++++++ Collector/Collector.csproj | 17 +++++++ Collector/Content/Content.mgcb | 15 ++++++ Collector/Game1.cs | 53 +++++++++++++++++++++ Collector/Program.cs | 14 ++++++ 11 files changed, 157 insertions(+) create mode 100644 .gitignore create mode 100644 .idea/.idea.Collector/.idea/.gitignore create mode 100644 .idea/.idea.Collector/.idea/encodings.xml create mode 100644 .idea/.idea.Collector/.idea/indexLayout.xml create mode 100644 .idea/.idea.Collector/.idea/misc.xml create mode 100644 .idea/.idea.Collector/.idea/vcs.xml create mode 100644 Collector.sln create mode 100644 Collector/Collector.csproj create mode 100644 Collector/Content/Content.mgcb create mode 100644 Collector/Game1.cs create mode 100644 Collector/Program.cs diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..add57be --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +bin/ +obj/ +/packages/ +riderModule.iml +/_ReSharper.Caches/ \ No newline at end of file diff --git a/.idea/.idea.Collector/.idea/.gitignore b/.idea/.idea.Collector/.idea/.gitignore new file mode 100644 index 0000000..59db4dd --- /dev/null +++ b/.idea/.idea.Collector/.idea/.gitignore @@ -0,0 +1,13 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Rider ignored files +/projectSettingsUpdater.xml +/contentModel.xml +/.idea.Collector.iml +/modules.xml +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml +# Editor-based HTTP Client requests +/httpRequests/ diff --git a/.idea/.idea.Collector/.idea/encodings.xml b/.idea/.idea.Collector/.idea/encodings.xml new file mode 100644 index 0000000..df87cf9 --- /dev/null +++ b/.idea/.idea.Collector/.idea/encodings.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/.idea.Collector/.idea/indexLayout.xml b/.idea/.idea.Collector/.idea/indexLayout.xml new file mode 100644 index 0000000..27ba142 --- /dev/null +++ b/.idea/.idea.Collector/.idea/indexLayout.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/.idea.Collector/.idea/misc.xml b/.idea/.idea.Collector/.idea/misc.xml new file mode 100644 index 0000000..28a804d --- /dev/null +++ b/.idea/.idea.Collector/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/.idea.Collector/.idea/vcs.xml b/.idea/.idea.Collector/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/.idea.Collector/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Collector.sln b/Collector.sln new file mode 100644 index 0000000..b8ec4c1 --- /dev/null +++ b/Collector.sln @@ -0,0 +1,16 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Collector", "Collector\Collector.csproj", "{775A5C4A-E495-44EF-B445-6F9294130358}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {775A5C4A-E495-44EF-B445-6F9294130358}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {775A5C4A-E495-44EF-B445-6F9294130358}.Debug|Any CPU.Build.0 = Debug|Any CPU + {775A5C4A-E495-44EF-B445-6F9294130358}.Release|Any CPU.ActiveCfg = Release|Any CPU + {775A5C4A-E495-44EF-B445-6F9294130358}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/Collector/Collector.csproj b/Collector/Collector.csproj new file mode 100644 index 0000000..1167fca --- /dev/null +++ b/Collector/Collector.csproj @@ -0,0 +1,17 @@ + + + + WinExe + netcoreapp2.0 + + + + + + + + + + + + diff --git a/Collector/Content/Content.mgcb b/Collector/Content/Content.mgcb new file mode 100644 index 0000000..ddc4c36 --- /dev/null +++ b/Collector/Content/Content.mgcb @@ -0,0 +1,15 @@ + +#----------------------------- Global Properties ----------------------------# + +/outputDir:bin/$(Platform) +/intermediateDir:obj/$(Platform) +/platform:DesktopGL +/config: +/profile:Reach +/compress:False + +#-------------------------------- References --------------------------------# + + +#---------------------------------- Content ---------------------------------# + diff --git a/Collector/Game1.cs b/Collector/Game1.cs new file mode 100644 index 0000000..2661bfc --- /dev/null +++ b/Collector/Game1.cs @@ -0,0 +1,53 @@ +using Microsoft.Xna.Framework; +using Microsoft.Xna.Framework.Graphics; +using Microsoft.Xna.Framework.Input; + +namespace Collector +{ + public class Game1 : Game + { + GraphicsDeviceManager graphics; + SpriteBatch spriteBatch; + + public Game1() + { + graphics = new GraphicsDeviceManager(this); + Content.RootDirectory = "Content"; + IsMouseVisible = true; + } + + protected override void Initialize() + { + // TODO: Add your initialization logic here + + base.Initialize(); + } + + protected override void LoadContent() + { + spriteBatch = new SpriteBatch(GraphicsDevice); + + // TODO: use this.Content to load your game content here + } + + protected override void Update(GameTime gameTime) + { + if (GamePad.GetState(PlayerIndex.One).Buttons.Back == ButtonState.Pressed || + Keyboard.GetState().IsKeyDown(Keys.Escape)) + Exit(); + + // TODO: Add your update logic here + + base.Update(gameTime); + } + + protected override void Draw(GameTime gameTime) + { + GraphicsDevice.Clear(Color.CornflowerBlue); + + // TODO: Add your drawing code here + + base.Draw(gameTime); + } + } +} \ No newline at end of file diff --git a/Collector/Program.cs b/Collector/Program.cs new file mode 100644 index 0000000..2d7f948 --- /dev/null +++ b/Collector/Program.cs @@ -0,0 +1,14 @@ +using System; + +namespace Collector +{ + public static class Program + { + [STAThread] + static void Main() + { + using (var game = new Game1()) + game.Run(); + } + } +} \ No newline at end of file