|
|
4 місяців тому | |
|---|---|---|
| .. | ||
| .config | 4 місяців тому | |
| .vscode | 4 місяців тому | |
| Core | 4 місяців тому | |
| Platforms | 4 місяців тому | |
| README.md | 4 місяців тому | |
| TouchGesture.sln | 4 місяців тому | |
This is a cross-platform MonoGame 3.8.4 sample demonstrating touch gesture and mouse support. The project uses modern .NET 8.0+ SDK-style projects, with shared game logic in /Core and platform-specific launchers in /Platforms.
/Core # Shared game logic (Game1, Sprite, etc.)
/Platforms/Windows # Windows-specific entry point and project
/Platforms/DesktopGL # DesktopGL-specific 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 by Windows & DesktopGL)
.vscode # VSCode tasks and launch configuration
TouchGesture.sln # Solution file for Visual Studio
README.md # This file
/Content directory directly for all .xnb assets (e.g., cat.xnb, Font.xnb)./Content into the Android output at build time.../../../CompiledContent/iOS/Content/Textures/cat.xnb and ../../../CompiledContent/iOS/Content/Fonts/Font.xnb into the app bundle as Content/cat.xnb and Content/Font.xnb.TouchGesture.sln) in Visual Studio and set the desired platform project as startup, then build and run.Or, in VSCode, use the Run/Debug options for Windows or DesktopGL, or run from terminal:
dotnet run --project Platforms/Windows/TouchGesture.Windows.csproj -c Debug
dotnet run --project Platforms/DesktopGL/TouchGesture.DesktopGL.csproj -c Debug
/Core and referenced by each platform project.For more details, see the source code in each directory.