Dominique Louis 5a1fb288f4 Ensure all Core files have PreserveAsset set to all. 4 kuukautta sitten
..
.config 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 4 kuukautta sitten
.vscode 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 4 kuukautta sitten
Core 5a1fb288f4 Ensure all Core files have PreserveAsset set to all. 4 kuukautta sitten
Platforms 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 4 kuukautta sitten
README.md 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 4 kuukautta sitten
Storage.sln 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 4 kuukautta sitten

README.md

MonoGame Storage Sample

This repository demonstrates cross-platform save game and storage management using MonoGame. It includes implementations for Windows, DesktopGL, Android, and iOS platforms.

Project Structure

  • Core/ - Shared game logic and storage code.
  • Platforms/Windows/ - Windows-specific project.
  • Platforms/DesktopGL/ - DesktopGL (cross-platform desktop) project.
  • Platforms/Android/ - Android-specific project.
  • Platforms/iOS/ - iOS-specific project.

Building

Prerequisites

  • .NET 8 SDK
  • MonoGame (see platform-specific requirements)
  • Visual Studio 2022 or VS Code recommended

Windows

dotnet build Platforms/Windows/Storage.Windows.csproj

DesktopGL

dotnet build Platforms/DesktopGL/Storage.DesktopGL.csproj

Android

dotnet build Platforms/Android/Storage.Android.csproj

iOS

dotnet build Platforms/iOS/Storage.iOS.csproj

Running

You can use the provided VS Code tasks and launch configurations for each platform. See .vscode/tasks.json and .vscode/launch.json for details.

Notes

  • Each platform project builds its own executable or app package.
  • Shared logic is in the Core project.
  • For mobile platforms, ensure you have the required SDKs and emulators installed.

License

MIT