Skip to content

AvaloniaInside/AvaloniaInside.MonoGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Integration of MonoGame for Avalonia

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published