This is a modernized version of the Robot Rampage game from the XNA Game Development by Example book, updated to use MonoGame 3.8.4 and .NET 8.0.
Originally from the Book "XNA 4.0 Game Development by Example: Beginner's Guide" by Kurt Jaegers Published by PACKT Publishing: http://www.packtpub.com/xna-4-0-game-development-by-example-beginners-guide/book
The project has been converted to use modern SDK-style project files and supports multiple platforms:
Open RobotRampage.sln in Visual Studio and build the desired project.
# Build Windows version
dotnet build RobotRampage.Windows.csproj
# Build DesktopGL version
dotnet build RobotRampage.DesktopGL.csproj
# Build Android version
dotnet build RobotRampage.Android.csproj
Open the folder in VS Code and use the following tasks:
Ctrl+Shift+P → "Tasks: Run Task" → Choose build task# Run Windows version
dotnet run --project RobotRampage.Windows.csproj
# Run DesktopGL version
dotnet run --project RobotRampage.DesktopGL.csproj
F5 to debug with Launch DesktopGL or Launch Windows configurationsCtrl+F5 to run without debuggingThe project uses existing compiled content (.xnb files) from the Content folder. No additional content pipeline setup is required as the .xnb files are directly copied to the output directory.
Content Warning: The "No Content References Found" warning is expected since we're using pre-compiled .xnb files instead of a .mgcb content pipeline project.
Build Errors: Ensure you have the correct .NET 8.0 SDK installed and all required workloads for your target platform.
Android Build Issues: Make sure you have the Android SDK installed and configured properly in Visual Studio.
This code is based on the examples from "XNA Game Development by Example" and has been modernized for educational purposes.