Skip to content

Commit a6adedd

Browse files
Feature/replaceArialFont (#82)
* Add font files and replace selected font in SpriteFont files to Roboto-Bold * Rename SpriteFont Files * Get csproj to point 3.8.* so to test things we only need to update the respective dotnet-tools.json file. * Updated the READE.md with instructions on testing against newer CI builds. * Have 1 sln with all the platforms, now that we share *.Core. This follows the upcoming sln templates. * Get CI to build each game sample on Windows, to confirm everything still works. * Update pipeline to build ShipGame content processor in release build * update *.mgcbs to populate the config field. * Remove internal references to icons, as it should be using the icon from the ApplicationIcon tag --------- Co-authored-by: Dominique Louis <[email protected]>
1 parent 4f74078 commit a6adedd

File tree

80 files changed

+418
-1122
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+418
-1122
lines changed

.github/workflows/dotnet.yml

Lines changed: 40 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,50 +11,76 @@ on:
1111

1212
jobs:
1313
build:
14-
15-
runs-on: ubuntu-latest
14+
runs-on: windows-latest
1615

1716
steps:
1817
- uses: actions/checkout@v4
1918
- name: Setup .NET
2019
uses: actions/setup-dotnet@v4
2120
with:
2221
dotnet-version: 8.0.x
22+
23+
- name: Build Windows Binary for Tutorial/BasicCameraExample
24+
run: dotnet build Tutorials/BasicCameraExample/BasicCameraExample.sln
25+
2326
- name: Archive Tutorial/BasicCameraExample
2427
uses: actions/upload-artifact@v4
2528
with:
2629
name: BasicCameraExample
2730
path: Tutorials/BasicCameraExample/**
2831
include-hidden-files: true
29-
- name: Archive ShipGame
32+
33+
- name: Build Windows Binary for AutoPong
34+
run: dotnet build AutoPong/AutoPong.WindowsDX/AutoPong.WindowsDX.csproj
35+
36+
- name: Archive AutoPong
3037
uses: actions/upload-artifact@v4
3138
with:
32-
name: ShipGame
33-
path: ShipGame/**
39+
name: AutoPong
40+
path: AutoPong/**
3441
include-hidden-files: true
42+
43+
- name: Build Windows Binary for FuelCell
44+
run: dotnet build FuelCell/FuelCell.WindowsDX/FuelCell.WindowsDX.csproj
45+
46+
- name: Archive FuelCell
47+
uses: actions/upload-artifact@v4
48+
with:
49+
name: FuelCell
50+
path: FuelCell/**
51+
include-hidden-files: true
52+
53+
- name: Build Windows Binary for NeonShooter
54+
run: dotnet build NeonShooter/NeonShooter.WindowsDX/NeonShooter.WindowsDX.csproj
55+
3556
- name: Archive NeonShooter
3657
uses: actions/upload-artifact@v4
3758
with:
3859
name: NeonShooter
3960
path: NeonShooter/**
4061
include-hidden-files: true
62+
63+
- name: Build Windows Binary for Platformer2D
64+
run: dotnet build Platformer2D/Platformer2D.WindowsDX/Platformer2D.WindowsDX.csproj
65+
4166
- name: Archive Platformer2D
4267
uses: actions/upload-artifact@v4
4368
with:
4469
name: Platformer2D
4570
path: Platformer2D/**
4671
include-hidden-files: true
47-
- name: Archive AutoPong
48-
uses: actions/upload-artifact@v4
49-
with:
50-
name: AutoPong
51-
path: AutoPong/**
52-
include-hidden-files: true
53-
- name: Archive FuelCell
72+
73+
- name: Build ShipGame COntent Processor in Release mode
74+
run: dotnet build ShipGame/ShipGame.Dependencies/NormalMappingModelProcessor/NormalMappingModelProcessor.csproj --configuration Release
75+
76+
- name: Build Windows Binary for ShipGame
77+
run: dotnet build ShipGame/ShipGame.WindowsDX/ShipGame.WindowsDX.csproj
78+
79+
- name: Archive ShipGame
5480
uses: actions/upload-artifact@v4
5581
with:
56-
name: FuelCell
57-
path: FuelCell/**
82+
name: ShipGame
83+
path: ShipGame/**
5884
include-hidden-files: true
5985

6086
deploy:

AutoPong/AutoPong.Android.sln

Lines changed: 0 additions & 33 deletions
This file was deleted.

AutoPong/AutoPong.Android/AutoPong.Android.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
<ProjectReference Include="..\AutoPong.Core\AutoPong.Core.csproj" />
1212
</ItemGroup>
1313
<ItemGroup>
14-
<PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.2.1105" />
15-
<PackageReference Include="MonoGame.Framework.Android" Version="3.8.2.1105" />
14+
<PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.*" />
15+
<PackageReference Include="MonoGame.Framework.Android" Version="3.8.*" />
1616
</ItemGroup>
1717
<Target Name="RestoreDotnetTools" BeforeTargets="Restore">
1818
<Message Text="Restoring dotnet tools" Importance="High" />

AutoPong/AutoPong.Core/AutoPong.Core.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<TargetFramework>net8.0</TargetFramework>
44
</PropertyGroup>
55
<ItemGroup>
6-
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.2.1105">
6+
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.*">
77
<PrivateAssets>All</PrivateAssets>
88
</PackageReference>
99
</ItemGroup>

AutoPong/AutoPong.DesktopGL.sln

Lines changed: 0 additions & 31 deletions
This file was deleted.

AutoPong/AutoPong.DesktopGL/AutoPong.DesktopGL.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
<ProjectReference Include="..\AutoPong.Core\AutoPong.Core.csproj" />
2323
</ItemGroup>
2424
<ItemGroup>
25-
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.2.1105" />
26-
<PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.2.1105" />
25+
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.*" />
26+
<PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.*" />
2727
</ItemGroup>
2828
<Target Name="RestoreDotnetTools" BeforeTargets="Restore">
2929
<Message Text="Restoring dotnet tools" Importance="High" />

AutoPong/AutoPong.WindowsDX.sln

Lines changed: 0 additions & 31 deletions
This file was deleted.

AutoPong/AutoPong.WindowsDX/AutoPong.WindowsDX.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
<ProjectReference Include="..\AutoPong.Core\AutoPong.Core.csproj" />
1616
</ItemGroup>
1717
<ItemGroup>
18-
<PackageReference Include="MonoGame.Framework.WindowsDX" Version="3.8.2.1105" />
19-
<PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.2.1105" />
18+
<PackageReference Include="MonoGame.Framework.WindowsDX" Version="3.8.*" />
19+
<PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.*" />
2020
</ItemGroup>
2121
<Target Name="RestoreDotnetTools" BeforeTargets="Restore">
2222
<Message Text="Restoring dotnet tools" Importance="High" />

AutoPong/AutoPong.WindowsUWP.sln

Lines changed: 0 additions & 51 deletions
This file was deleted.

AutoPong/AutoPong.WindowsUWP/AutoPong.WindowsUWP.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@
136136
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">
137137
<Version>6.2.13</Version>
138138
</PackageReference>
139-
<PackageReference Include="MonoGame.Framework.WindowsUniversal" Version="3.8.2.1105" />
140-
<PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.2.1105" />
139+
<PackageReference Include="MonoGame.Framework.WindowsUniversal" Version="3.8.*" />
140+
<PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.*" />
141141
</ItemGroup>
142142
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '14.0' ">
143143
<VisualStudioVersion>14.0</VisualStudioVersion>

0 commit comments

Comments
 (0)