Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/AvaloniaInside/AvaloniaInside.MonoGame

Integration of MonoGame for Avalonia
https://github.com/AvaloniaInside/AvaloniaInside.MonoGame

Last synced: 26 days ago
JSON representation

Integration of MonoGame for Avalonia

Awesome Lists containing this project

README

        

# AvaloniaInside.MonoGame

Integration of MonoGame for Avalonia

## Install

Install the package to your project using command below or open the [package nuget](https://www.nuget.org/packages/AvaloniaInside.MonoGame) to find other way to install.

```bash
dotnet add package AvaloniaInside.MonoGame
```

## Usage

Add the namespace to your view
```
xmlns:monoGame="clr-namespace:AvaloniaInside.MonoGame;assembly=AvaloniaInside.MonoGame"
```

Add the game control. At the example below we use `CurrentGame` property to the game.
```xml

```

```csharp
public Game CurrentGame { get; set; } = new MyExampleGame();
```

![image](https://user-images.githubusercontent.com/956077/211166326-10a244a2-f265-4846-947a-6991133ce25a.png)

## Known issues
1. Mobile not working.
2. There is no implementation of device input, This is could be manage by native Avalonia.
3. Not a good performance for the moment.