|
|
2 місяців тому | |
|---|---|---|
| .. | ||
| .config | 2 місяців тому | |
| .vscode | 3 місяців тому | |
| Core | 3 місяців тому | |
| Platforms | 3 місяців тому | |
| AsteroidBeltAssault.sln | 3 місяців тому | |
| README.md | 3 місяців тому | |
This project contains the Asteroid Belt Assault game as it is at the end of Chapter 5.
This was taken from the Book XNA 4.0 Game Development by Example: Beginner's Guide by Kurt Jaegers Published by PACKT Publishing which can be found here http://www.packtpub.com/xna-4-0-game-development-by-example-beginners-guide/book
For a complete discussion of the code please buy the book as it is worth the money.
Asteroid Belt Assault is a cross-platform 2D space shooter game originally developed for XNA 4.0, now ported to MonoGame. The project demonstrates game development concepts such as sprite management, collision detection, particle effects, and sound, following the structure from the book "XNA 4.0 Game Development by Example: Beginner's Guide" by Kurt Jaegers.
Build: Use the VS Code task build-windows or run:
dotnet build Platforms/Windows/AsteroidBeltAssault.Windows.csproj
Run: Use the VS Code launch config Run Windows or run the built .exe from Platforms/Windows/bin/Debug/net8.0-windows/.
Build: Use the VS Code task build-desktopgl or run:
dotnet build Platforms/Desktop/AsteroidBeltAssault.DesktopGL.csproj
Run: Use the VS Code launch config Run Desktop or run the built binary from Platforms/Desktop/bin/Debug/net8.0/.
Build: Use the VS Code task build-android or run:
dotnet build Platforms/Android/AsteroidBeltAssault.Android.csproj
Deploy & Run: Use the VS Code launch config Deploy and Launch Android or run:
dotnet android deploy --project Platforms/Android/AsteroidBeltAssault.Android.csproj
The app will be deployed to the default Android emulator.
Build: Use the VS Code task build-ios or run:
dotnet build Platforms/iOS/AsteroidBeltAssault.iOS.csproj
Deploy & Run: Use the VS Code launch config Deploy and Launch iOS or run:
dotnet ios deploy --project Platforms/iOS/AsteroidBeltAssault.iOS.csproj
The app will be deployed to the default iOS simulator.
For more details, see the book or the source code in the Core and Platforms directories.