|
|
1 week ago | |
|---|---|---|
| .. | ||
| .config | 2 months ago | |
| .vscode | 3 weeks ago | |
| Core | 1 week ago | |
| Platforms | 1 week ago | |
| CollisionSample.cs | 2 months ago | |
| CollisionSample.sln | 2 weeks ago | |
| README.md | 2 months ago | |
This project demonstrates various forms of collision detection for primitives in MonoGame, including oriented bounding boxes and triangles. It is structured for modern cross-platform .NET 8 development, with a clean separation between shared game logic and platform-specific entry points.
dotnet build Platforms/Windows/CollisionSample.Windows.csproj
Run the resulting executable from bin/Debug/net8.0-windows/.
dotnet build Platforms/Desktop/CollisionSample.DesktopGL.csproj
Run the resulting executable from bin/Debug/net8.0/.
dotnet build Platforms/Android/CollisionSample.Android.csproj
Deploy the resulting APK to an Android device or emulator.
dotnet build Platforms/iOS/CollisionSample.iOS.csproj
Deploy using Xcode or the .NET iOS workload on a Mac.
Core project.This sample is based on Microsoft XNA Community Game Platform code and is provided for educational purposes.