|
|
2 月之前 | |
|---|---|---|
| .. | ||
| .config | 2 月之前 | |
| .vscode | 2 月之前 | |
| Core | 2 月之前 | |
| Platforms | 2 月之前 | |
| ChaseAndEvade.sln | 2 月之前 | |
| ChaseAndEvadeGame.cs | 2 月之前 | |
| README.md | 2 月之前 | |
This project demonstrates simple chase, evade, and wander AI behaviors using MonoGame 3.8.* and .NET 8.0. It is organized for cross-platform development with a clean separation between shared game logic and platform-specific code.
/Core — Shared game logic and main game class (ChaseAndEvadeGame)/Platforms/Windows — Windows-specific entry point and project/Platforms/Desktop — DesktopGL (cross-platform desktop) entry point and project/Platforms/Android — Android entry point, manifest, and project/Platforms/iOS — iOS entry point, Info.plist, and project/Content — Prebuilt .xnb content files used directly by the gameChaseAndEvade.sln in Visual Studio, or use VSCode.ChaseAndEvade.Windows project.ChaseAndEvade.sln or use VSCode.ChaseAndEvade.DesktopGL project.ChaseAndEvade.sln in Visual Studio (with Xamarin/MAUI workload).ChaseAndEvade.Android project to an emulator or device.ChaseAndEvade.sln in Visual Studio for Mac or Windows (with Xamarin/MAUI workload and Mac build agent).ChaseAndEvade.iOS project.Core project and referenced by each platform..xnb files in the Content directory; no Content.mgcb is required.tasks.json and launch.json for building and running Windows and DesktopGL projects directly from VSCode.For more details, see the source code and comments in each project.