Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 959 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 959 Bytes

AvaloniaInside.MonoGame

Integration of MonoGame for Avalonia

Install

Install the package to your project using command below or open the package nuget to find other way to install.

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.

<monoGame:MonoGameControl Game="{Binding CurrentGame}" />
public Game CurrentGame { get; set; } = new MyExampleGame();

image

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.