Blank engine

tiles_moving_bad
BraydonKains 5 years ago
parent 3ff8d75503
commit c280a688dc

3
.gitignore vendored

@ -0,0 +1,3 @@
bin
Content
obj

@ -0,0 +1,25 @@
{
// 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": ".NET Core Launch (console)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/SeeNoEvil/bin/Debug/netcoreapp3.1/SeeNoEvil.dll",
"args": [],
"cwd": "${workspaceFolder}",
"console": "internalConsole",
"stopAtEntry": false
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach",
"processId": "${command:pickProcess}"
}
]
}

42
.vscode/tasks.json vendored

@ -0,0 +1,42 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder}/SeeNoEvil/SeeNoEvil.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "publish",
"command": "dotnet",
"type": "process",
"args": [
"publish",
"${workspaceFolder}/SeeNoEvil/SeeNoEvil.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "watch",
"command": "dotnet",
"type": "process",
"args": [
"watch",
"run",
"${workspaceFolder}/SeeNoEvil/SeeNoEvil.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
}
]
}

@ -0,0 +1,19 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="nunit" Version="3.12.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.15.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0"/>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="../SeeNoEvil/SeeNoEvil.csproj" />
</ItemGroup>
</Project>

@ -0,0 +1,18 @@
using NUnit.Framework;
namespace SeeNoEvil.Tests
{
public class Tests
{
[SetUp]
public void Setup()
{
}
[Test]
public void Test1()
{
Assert.Pass();
}
}
}

@ -0,0 +1,62 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26124.0
MinimumVisualStudioVersion = 15.0.26124.0
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeeNoEvil.Game", "SeeNoEvil.Game\SeeNoEvil.Game.csproj", "{8DAEBE8F-06ED-447C-952D-CC99828BB243}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeeNoEvil.Tests", "SeeNoEvil.Tests\SeeNoEvil.Tests.csproj", "{68F2154E-8FB0-4C33-834D-CE4A8175AF73}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeeNoEvil", "SeeNoEvil\SeeNoEvil.csproj", "{C56E63A2-B2D6-41D8-A26C-86A58DAC0841}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{8DAEBE8F-06ED-447C-952D-CC99828BB243}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8DAEBE8F-06ED-447C-952D-CC99828BB243}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8DAEBE8F-06ED-447C-952D-CC99828BB243}.Debug|x64.ActiveCfg = Debug|Any CPU
{8DAEBE8F-06ED-447C-952D-CC99828BB243}.Debug|x64.Build.0 = Debug|Any CPU
{8DAEBE8F-06ED-447C-952D-CC99828BB243}.Debug|x86.ActiveCfg = Debug|Any CPU
{8DAEBE8F-06ED-447C-952D-CC99828BB243}.Debug|x86.Build.0 = Debug|Any CPU
{8DAEBE8F-06ED-447C-952D-CC99828BB243}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8DAEBE8F-06ED-447C-952D-CC99828BB243}.Release|Any CPU.Build.0 = Release|Any CPU
{8DAEBE8F-06ED-447C-952D-CC99828BB243}.Release|x64.ActiveCfg = Release|Any CPU
{8DAEBE8F-06ED-447C-952D-CC99828BB243}.Release|x64.Build.0 = Release|Any CPU
{8DAEBE8F-06ED-447C-952D-CC99828BB243}.Release|x86.ActiveCfg = Release|Any CPU
{8DAEBE8F-06ED-447C-952D-CC99828BB243}.Release|x86.Build.0 = Release|Any CPU
{68F2154E-8FB0-4C33-834D-CE4A8175AF73}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{68F2154E-8FB0-4C33-834D-CE4A8175AF73}.Debug|Any CPU.Build.0 = Debug|Any CPU
{68F2154E-8FB0-4C33-834D-CE4A8175AF73}.Debug|x64.ActiveCfg = Debug|Any CPU
{68F2154E-8FB0-4C33-834D-CE4A8175AF73}.Debug|x64.Build.0 = Debug|Any CPU
{68F2154E-8FB0-4C33-834D-CE4A8175AF73}.Debug|x86.ActiveCfg = Debug|Any CPU
{68F2154E-8FB0-4C33-834D-CE4A8175AF73}.Debug|x86.Build.0 = Debug|Any CPU
{68F2154E-8FB0-4C33-834D-CE4A8175AF73}.Release|Any CPU.ActiveCfg = Release|Any CPU
{68F2154E-8FB0-4C33-834D-CE4A8175AF73}.Release|Any CPU.Build.0 = Release|Any CPU
{68F2154E-8FB0-4C33-834D-CE4A8175AF73}.Release|x64.ActiveCfg = Release|Any CPU
{68F2154E-8FB0-4C33-834D-CE4A8175AF73}.Release|x64.Build.0 = Release|Any CPU
{68F2154E-8FB0-4C33-834D-CE4A8175AF73}.Release|x86.ActiveCfg = Release|Any CPU
{68F2154E-8FB0-4C33-834D-CE4A8175AF73}.Release|x86.Build.0 = Release|Any CPU
{C56E63A2-B2D6-41D8-A26C-86A58DAC0841}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C56E63A2-B2D6-41D8-A26C-86A58DAC0841}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C56E63A2-B2D6-41D8-A26C-86A58DAC0841}.Debug|x64.ActiveCfg = Debug|Any CPU
{C56E63A2-B2D6-41D8-A26C-86A58DAC0841}.Debug|x64.Build.0 = Debug|Any CPU
{C56E63A2-B2D6-41D8-A26C-86A58DAC0841}.Debug|x86.ActiveCfg = Debug|Any CPU
{C56E63A2-B2D6-41D8-A26C-86A58DAC0841}.Debug|x86.Build.0 = Debug|Any CPU
{C56E63A2-B2D6-41D8-A26C-86A58DAC0841}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C56E63A2-B2D6-41D8-A26C-86A58DAC0841}.Release|Any CPU.Build.0 = Release|Any CPU
{C56E63A2-B2D6-41D8-A26C-86A58DAC0841}.Release|x64.ActiveCfg = Release|Any CPU
{C56E63A2-B2D6-41D8-A26C-86A58DAC0841}.Release|x64.Build.0 = Release|Any CPU
{C56E63A2-B2D6-41D8-A26C-86A58DAC0841}.Release|x86.ActiveCfg = Release|Any CPU
{C56E63A2-B2D6-41D8-A26C-86A58DAC0841}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal

@ -0,0 +1,52 @@
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
namespace SeeNoEvil
{
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);
}
}
}

@ -0,0 +1,14 @@
using System;
namespace SeeNoEvil
{
public static class Program
{
[STAThread]
static void Main()
{
using (var game = new Game1())
game.Run();
}
}
}

@ -0,0 +1,17 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>
<ItemGroup>
<MonoGameContentReference Include="**\*.mgcb" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="MonoGame.Content.Builder" Version="3.7.0.4" />
<PackageReference Include="MonoGame.Framework.DesktopGL.Core" Version="3.7.0.7" />
</ItemGroup>
</Project>
Loading…
Cancel
Save