|
|
2 miesięcy temu | |
|---|---|---|
| .. | ||
| .config | 2 miesięcy temu | |
| .vscode | 2 miesięcy temu | |
| Core | 2 miesięcy temu | |
| Platforms | 2 miesięcy temu | |
| README.md | 2 miesięcy temu | |
| Sound.sln | 2 miesięcy temu | |
This project demonstrates a cross-platform MonoGame 3.8.* sample for playing sound and using pre-built .xnb content. It supports Windows, DesktopGL, Android, and iOS using .NET 8.0 platform-specific SDK-style projects.
Project Modernization (2025):
Platforms/ subdirectories.README.md
Sound.sln
Core/
SoundSample.cs
Content/
Content.mgcb
Explosion1.mp3
Font.spritefont
Platforms/
Android/
AndroidManifest.xml
MainActivity.cs
Sound.Android.csproj
Resources/
Resource.Designer.cs
Drawable/
icon.png
splash.png
Values/
Styles.xml
DesktopGL/
Program.cs
Sound.DesktopGL.csproj
iOS/
Info.plist
Program.cs
Sound.iOS.csproj
Windows/
Program.cs
Sound.Windows.csproj
Core/Content/: Pre-built .xnb and audio files, plus the content project file (Content.mgcb).Platforms/Windows, Platforms/DesktopGL, Platforms/Android, Platforms/iOS: Platform-specific projects and entry points.Core/SoundSample.cs.build-windows or build-desktopglWindows or DesktopGL configurationCore/Content/ directory. If you see a runtime error about missing content, you must add or rebuild the missing .xnb files.Sound.sln in Visual Studio.Platforms/Android/Resources/.Core/Content/.#if blocks.Core/Content/ directory for the required .xnb files.Copyright © 2011