Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First Person Shooter #78

Merged
merged 17 commits into from
Dec 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/First Person Shooter Build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: First Person Shooter Build
on:
push:
paths:
- 'Projects/First Person Shooter/**'
- '!**.md'
pull_request:
paths:
- 'Projects/First Person Shooter/**'
- '!**.md'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- run: dotnet build "Projects\First Person Shooter\First Person Shooter.csproj" --configuration Release
18 changes: 14 additions & 4 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,16 @@
"console": "externalTerminal",
"stopAtEntry": false,
},
{
"name": "Shmup",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "Build Shmup",
"program": "${workspaceFolder}/Projects/Shmup/bin/Debug/Shmup.dll",
"cwd": "${workspaceFolder}/Projects/Shmup/bin/Debug",
"console": "externalTerminal",
"stopAtEntry": false,
},
{
"name": "Role Playing Game",
"type": "coreclr",
Expand All @@ -523,12 +533,12 @@
"stopAtEntry": false,
},
{
"name": "Shmup",
"name": "First Person Shooter",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "Build Shmup",
"program": "${workspaceFolder}/Projects/Shmup/bin/Debug/Shmup.dll",
"cwd": "${workspaceFolder}/Projects/Shmup/bin/Debug",
"preLaunchTask": "Build First Person Shooter",
"program": "${workspaceFolder}/Projects/First Person Shooter/bin/Debug/First Person Shooter.dll",
"cwd": "${workspaceFolder}/Projects/First Person Shooter/bin/Debug",
"console": "externalTerminal",
"stopAtEntry": false,
},
Expand Down
13 changes: 13 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -691,6 +691,19 @@
],
"problemMatcher": "$msCompile",
},
{
"label": "Build First Person Shooter",
"command": "dotnet",
"type": "process",
"args":
[
"build",
"${workspaceFolder}/Projects/First Person Shooter/First Person Shooter.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary",
],
"problemMatcher": "$msCompile",
},
{
"label": "Build Solution",
"command": "dotnet",
Expand Down
9 changes: 9 additions & 0 deletions Projects/First Person Shooter/First Person Shooter.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>disable</ImplicitUsings>
<Nullable>enable</Nullable>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
</Project>
Loading
Loading