Skip to content

SpacePIXX is a cross-platform retro-style space shooter using MonoGame/Xamarin.

License

Notifications You must be signed in to change notification settings

b3nk4n/spacepixx-monogame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpacePIXX using MonoGame GitHub

A cross-platform port of the Windows Phone / Windows 8 scribbled space action game using MonoGame.

App Logo

Getting Started

Restore the .Net tools using the following command:

dotnet tool restore
dotnet workload restore

IDE Setup

When using Visual Studio for Mac, I needed to disable Fast Assembly Deployment when deploying the App on a physical Android device (Pixel 4). This option can be disabled via Project Properties > Android > Build > Packaging and Deployment. Otherwise, the app was just crashing right at startup most of the time when using the default settings.

References

App icons have been generated using https://icon.kitchen/.

App Publishing

In Visual Studio for Mac, do the following:

  1. Import the singing key via Tools > Preferences and Publishing > Android Signing Keys
  2. Create an AAB file for publishing by right clicking the project file and selecting Archive for Publishing

There is also the possibility to include the signing information in the .csproj file. However, only plain text worked for me, which is neither secure nor recommended. And the alternative options to use env: or file: as described in MSDN did not work somehow.

Troubleshooting

Deployment to Android device stops working

In case the deployment using Visual Studio for Mac stops working with Mono.AndroidTools.AdbException: Attempted to read past the end of the stream., then either restart the Visual Studio IDE, or kill all related dotnet processes.

The archive for publishing contains not the updated versionName and versionCode

This somehow happens for whatever reason, even after updating it in both the Manifest and the project settings. One workaround might be to manually delete the obj and bin folders, and rebuild the project. In one case, I then ended up with a build error in Release mode only, related to Xamarin.Essentials, and that an xamarin_essentials_fileprovider_file_paths.xml file is missing. This also seems like a flaky bug, which I resolved by removing and re-adding the Xamarin.Essentials package.

About

SpacePIXX is a cross-platform retro-style space shooter using MonoGame/Xamarin.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages