|
|
vor 2 Monaten | |
|---|---|---|
| .. | ||
| .config | vor 3 Monaten | |
| .vscode | vor 2 Monaten | |
| Core | vor 2 Monaten | |
| Platforms | vor 2 Monaten | |
| CollisionSample.cs | vor 3 Monaten | |
| CollisionSample.sln | vor 2 Monaten | |
| README.md | vor 3 Monaten | |
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.