-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
32 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,27 @@ | ||
# PlaceholderGame | ||
A placeholder game for Windows, Linux, and macOS to upload to your Steam depots for whatever reason. This also acts as a cross-platform MonoGame template. | ||
|
||
A placeholder game for Windows, Linux, and macOS to upload to your Steam depots for whatever reason. | ||
|
||
Made with (MonoGame)[https://monogame.net/] and leveraging .NET 8 ```PublishAot``` feature. | ||
|
||
This project also acts as a cross-platform MonoGame template. | ||
|
||
# How to use | ||
|
||
- Fork the project | ||
- Edit (empty.png)[blob/main/PlaceholderGame/Content/empty.png] to your liking | ||
- Push the changes to Github | ||
- Wait for the (Actions)[actions/] to complete and download the generated artifacts from there | ||
- Upload those builds to Steam | ||
|
||
# MonoGame template | ||
|
||
This project can be used as a MonoGame template to build cross-platform applications and package them automatically with Github Actions. | ||
|
||
Whenever you push commits, Actions will build the game for all operating systems (natively using NativeAOT). | ||
|
||
## How does it work? | ||
|
||
- The (.csproj)[blob/main/PlaceholderGame/PlaceholderGame.csproj] is configured so that NativeAOT only runs when publishing projects and only on systems it can run (avoid cross-compilation errors) | ||
- A (post-build script)[blob/main/PlaceholderGame/post_build.ps1] is creating the macOS App Bundle | ||
- Github (Actions)[blob/main/.github/workflows/build.yml] is used to build the game and fuse macOS x64 and arm64 binaries into one universal binary supporting both |